Re: TCP server connection

Giganews Newsgroups
Subject: Re: TCP server connection
Posted by:  Remy Lebeau \(Indy Team\) (
Date: Thu, 19 Nov 2009

"Alan T" <alan_NO_SPAM_plt…> wrote in message =

> When a client connects to the TCP server, this event will be =
> IdTCPServerConnect(AContext: TIdContext);
> Right?


> Will this event be triggered every time the same client send message
> to the server?

Only if the client disconnects and reconnects between each message, =
otherwise no.  The OnExecute event usually will be, however, depending =
on how you code it.

Remy Lebeau (TeamB)



In response to

TCP server connection posted by Alan T on Fri, 20 Nov 2009