2013/4/19 silvioprog <silviop...@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
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to