|
-
May 25th, 2012, 09:01 AM
#4
Re: closesocket()
Sure, also you don't shut down the server socket, only the client socket. The server socket stays open to handle future communications. The accept() function will actually take the socket connection from the Server Socket and move it over to the client socket. The server socket acts like a post office, rerouting your mail to your mailbox (like the client socket), so closing it would impede future communications.
HTH,
ahoodin
To keep the plot moving, that's why.

Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|