Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Jan : Re: TIdTcpServer Disconnect while Read?
| Subject: | Re: TIdTcpServer Disconnect while Read? |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Wed, 30 Jan 2008 14:39:26 |
"Michael Stieler" <michael@stieler.it> wrote in message
news:47a0f382@newsgroups.borland.com...
> I wanted to know if it could happen, that the Server executes the
> ClientDisconnect method/event and Frees the AContext.Data object
> WHILE the ServerExecute is still using this object.
No, it cannot.
> Is the ClientDisconnect event raised from another thread?
OnDisconnect is triggered by the same thread that triggers the OnConnect and
OnExecute events.
Gambit
none