Re: [twsocket] Shutdown command
> I am using TWSocketServer (ICSV7) to accept incoming TCP > connections. Using it in multi threaded mode. > But when I get the clientcount from ThreadedServer component, I > see that there are more clients than it should have. This is confusing, are you using TWSocketServer or TWSocketThrdServer, they are different units. The former is well tested and kept up to date, the latter has not been updated properly or tested for 10 years, I've never used it and it's not used by any high level ICS samples. We stopped support for ICSv7 a long time ago, you may find other bug fixes in ICSv8 help your problem. Angus -- 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
[twsocket] Shutdown command
I am using TWSocketServer (ICSV7) to accept incoming TCP connections. Using it in multi threaded mode. I am accepting over 5000 clients and having them connected permanently.(Clients re-connect when they lose their connections) I have never been able to manage disconnected sockets properly. When the app calcualtes expiration for a client, it sends Shutdown(0) or CloseDelayed commands. (Tried both) But when I get the clientcount from ThreadedServer component, I see that there are more clients than it should have. (for example 10 thousands clients.) Can you show me a way out for this problem? How can I clear non-connected clients from SocketServer ? Thanks.. -- 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