🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Socket Close
How are you supposed to detect a socket close with CSocket?
There''s an OnClose method, but it never gets called when I override it...
Server Socket, accepts incoming connection from the Client Socket, and sets up a Receive Socket. When the client socket closes, how does the receive socket know?
You shouldn''t need to register the FD_CLOSE event manually, the framework should handle it. It''s probable that the OnClose handler you created is attached to the listening socket rather than the socket descripter created by the call to Accept.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement