Re: TCP server connection

Giganews Newsgroups
Subject: Re: TCP server connection
Posted by:  Kent Briggs (kbrig…@briggsoft.com)
Date: Thu, 19 Nov 2009

Alan T wrote:

> When a client connects to the TCP server, this event will be triggered:
> IdTCPServerConnect(AContext: TIdContext);
>
> Right?
>
> Will this event be triggered every time the same client send message to the
> server?

OnConnect is only fired once, OnExecute is fired with each message.

--
Kent Briggs, kbrig…@briggsoft.com
Briggs Softworks,http://www.briggsoft.com

Replies

In response to

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