Small TCP problem
Hi, I''m making a small simple TCP lobby server. I''ve noticed that when I close a socket after a client unexpectedly disconnects (error 10054), that reconnecting also causes a 10054 error when trying to recieve from that socket.
These sockets are non-blocking.
Once a socket is has been closed, you have to create a new socket, either for listening or for connecting.
Kuphryn
Kuphryn
If I change the handle of a closed socket after using accept with my listen socket, would that work, or do I need to open it before setting the handle?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement