I have a server socket application that uses TWSocketServer.  When clients 
disconnect, I do get see a SessionClosed event triggered for the client socket 
and then the TWSocketServer ClientDisconnect event handler fires.  However, the 
ClientCount does not go down, and keeps incrementing with every new incoming 
connection, even though the Clients are disconnecting.

I traced through the TWSocketServer code and I do see the RemoveList code fired 
for the component list object that is removing the disconnecting client socket 
(as expected), yet the ClientCount keeps rising.

What could I be doing wrong that would prevent TWSocketServer from successfully 
decrementing the ClientCount?

Thanks,
Robert


      
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to