When to call closesocket()
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?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement