Thread: Hello Sockets
View Single Post
Old May 20th, 2006, 1:30 PM   #1
hbe02
Hobbyist Programmer
 
hbe02's Avatar
 
Join Date: Mar 2006
Location: Lebanon
Posts: 148
Rep Power: 3 hbe02 is on a distinguished road
Hello Sockets

Today im starting with sockets programming. im learning how to write a simple UDP client server program. so im compiling some functions which are fine but linking is the problem. apparently i have to:
Quote:
When you compile this files, make sure you link them against Ws2_32.lib.
so how do i do that? and can someone give me a little more info about why it is important to open the windows connection using WSAstartup? would this be different on other operating systems?
Thanks y'all
hbe02 is offline   Reply With Quote