Thread: Socket Server
View Single Post
Old May 22nd, 2006, 7:07 PM   #16
hbe02
Hobbyist Programmer
 
hbe02's Avatar
 
Join Date: Mar 2006
Location: Lebanon
Posts: 148
Rep Power: 3 hbe02 is on a distinguished road
Quote:
: I suggest removing those extra functions that are un-needed.
The link where i learnt sockets programming said :
Quote:
Before calling any socket functions, it is necessary to first open the Windows connection. This is done with the WSAStartup function.
So why did they say that if i can use sockets without salling the WSAStartup..?
Wont i need the close function to safely close the socket? or when u terminate the program the socket is safely closed automatically.. like a destructor type of thing?
hbe02 is offline   Reply With Quote