> How to implement the time of the last action on the event and then check

Assuming you use ThrdSrv: Add a filed in the class TThrdSrvClient which is
instanciated for each client connecting. Update this filed for datetime of
the last message sent by the client, probably from the Datavaialble event

Then from the outside, for example using a TTimer triggered avery 30 sec,
iterate thru the client list of the server component and check the last
message datetime of each client, calling Abort should that time be greater
than a given timeout value.

Embarcadero MVP

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