Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 May : Re: Do TIdTCPClient connects and disconnects cause heavy CPU/Network load?

www.cryer.info
Managed Newsgroup Archive

Re: Do TIdTCPClient connects and disconnects cause heavy CPU/Network load?

Subject:Re: Do TIdTCPClient connects and disconnects cause heavy CPU/Network load?
Posted by:"PeaShooter_OMO" (jacquesv..@homemail.co.za)
Date:Fri, 12 May 2006 22:14:56

Thank you

"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message
news:44622105$1@newsgroups.borland.com...
>
> "PeaShooter_OMO" <jacquesvdm@homemail.co.za> wrote in message
> news:4461c706@newsgroups.borland.com...
>
>> Can I TIdTCPClient.Connect, WriteLn, Disconnect every time I
>> want the client to send data to the TIdTCPServer.
>
> You can.  But why would you want to do it that way?  If you send data
> often,
> it is more efficient to keep the connection open.
>
>> Does it cause heavy load on the CPU or Network
>
> No.
>
>> is it the preferred way?
>
> Not generally, no.
>
>
> Gambit

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive