[fpc-pascal] Re: TSocketServer and DoDisconnect event?

silvioprog silvioprog at gmail.com
Sun Apr 21 16:53:28 CEST 2013


2013/4/19 silvioprog <silvioprog at gmail.com>

> Hi,
>
> Well, the TSocketServer has the event DoConnect, but, how to I know when a
> client is disconnected? (eg, when I kill a client with Ctrl+Alt+Del)
>
> I find a event such as DoDisconnect, but it doesn't exists.
>
> Thank you!
>

Synapse use threads to do it:

http://synapse4lazarus.googlecode.com/svn-history/r9/trunk/demo/httpserv/unit1.pas

There are some unit implementing it with SScokets in FCL?

-- 
Silvio Cl├ęcio
My public projects - github.com/silvioprog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130421/57fa7d65/attachment.html>


More information about the fpc-pascal mailing list