Re: TCP server connection

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

"Alan T" <alan_NO_SPAM_plt…@yahoo.com.au> wrote in message =
news:CD2D5FBA0999E340alan_NO_SPAM_plt…@yahoo.com.au...

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

Yes.

> 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.

--=20
Remy Lebeau (TeamB)

Replies

None

In response to

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