• Advertisement

Archived

This topic is now archived and is closed to further replies.

When to call closesocket()

This topic is 5776 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Except the fact that closesocket() should be called for every socket handle created using socket(). If a SOCKET_ERROR occurs, on send(), recv(), depending on the WSA error should the closesocket() function becalled and then try to restablish connection or just just restablish the connection and let socket() realocate the handle? If so to what WSA errors should I call closesocket() to?

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement