> Hello guys, I'm using the component connections TWSocket for various
> customers making and receiving requests, in some cases the client 
> loses the connection to the server,

TCP not necessarily know a connection is lost since there may be no
packets sent for many hours.  You normally implement inactivity timeouts
to disconnect clients that don't respond.  

If you used the Socket Server as I suggested yesterday, much of this is
automatic.  You don't normally need to use threads in an ICS application,
unless you are making long blocking calls, 500 clients without threads is
common.  

You check SocketState property to see if a connection is closed. 

> if ClientThread.ClientWSocket.OnSessionClosed then

No idea what you are attempting to do here, this is an event handler
setter, not a property. 

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

Reply via email to