Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2013-04

TSocketServer and DoDisconnect event?

2 messages · 1 person · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

silvioprog

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!

Silvio Clécio My public projects - github.com/silvioprog

Reply by email

silvioprog
to silvioprog

2013/4/19 silvioprog

Show quoted text 9 lines
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

Reply by email