Wish: Ability to track disconnects.

Sep 16, 2012 at 8:06 PM

It would be really neat if we can track when a client disconnects. This would allow us to do cleanup of any data/information that is related to that client (a real must for server side development).

Coordinator
Sep 17, 2012 at 2:54 AM

Which version of SuperSocket are you using?

 

If you are using 1.5, this document should be helpful for you:

http://supersocket.codeplex.com/wikipage?title=Get%20the%20connected%20event%20and%20closed%20event%20of%20a%20connection

 

If you are using 1.4, you should override the OnAppSessionClosed method of AppServer to hook the session closed event.

Sep 18, 2012 at 12:44 AM

Thank you, I'm in 1.4 SP5, I'll give that a shot.