Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Jan : Re: Is it wise to use two TIdTCPClient compnents in an application?

www.cryer.info
Managed Newsgroup Archive

Re: Is it wise to use two TIdTCPClient compnents in an application?

Subject:Re: Is it wise to use two TIdTCPClient compnents in an application?
Posted by:"F Alvarado" (f.alvara..@brainsoftware.net)
Date:Mon, 14 Jan 2008 01:26:11

Martin:
You said you have used dozens of TidTCPClients without
problems...created them in the constructor...
Are you using one or several per application? Can you show me an example
of this approach?
Also, my protocol is very work intensive, it sends/receives data in a
fast series of 5-6 secs, something like this:
Disconnect->Change Host/Port->Connect->Send Data->Receive
Data->Disconnect...
Do something else for about 3-4 mins
Disconnect->Change Host/Port->Connect->Send Data->Receive
Data->Disconnect...
...and so on, all day long...
there is no need to wait for Server's response: it's very fast...
Which version of Indy are you using?
Regards
Francisco Alvarado

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive