Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Jun : Re: Connection Pool with TIdTCPServer

www.cryer.info
Managed Newsgroup Archive

Re: Connection Pool with TIdTCPServer

Subject:Re: Connection Pool with TIdTCPServer
Posted by:"Gerhard Venter" (ieatspam4breakfast@spam.com)
Date:Thu, 29 Jun 2006 07:43:01

"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message
news:44a321ac$1@newsgroups.borland.com...
>
> "Gerhard Venter" <IeatSpam4breakfast@spam.com> wrote in message
> news:44a30a42$1@newsgroups.borland.com...

> One thing you can do is to flush the socket of all pending data when
> releasing it back to the pool, and before allowing a new thread to use it.
> That way, there is no unread data shared between connections.
>

Which method call will flush the socket? Is it on the TIdTCPClient or
TIdIOHandler?

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive