Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Aug : TIdTcpClient Connect Timeout

www.cryer.info
Managed Newsgroup Archive

TIdTcpClient Connect Timeout

Subject:TIdTcpClient Connect Timeout
Posted by:"Krzysztof Kozłowski" (kozlo..@poczta.onet.pl)
Date:Wed, 16 Aug 2006 22:13:08

Hi all,

I have recently switched from Indy 9 to 10. I used the timeout value
when I called the Connect() method in TIdTcpClient to make the
application not waiting too long if the server is not available. Now I
see, that in Indy 10 one cannot call the Connect() method with the
timeout parameter. I tried to set the ConnectTimeout value for the
client, but it seems that it's not working anymore. Could anyone please
help me, telling how to apply the timeout to TIdTcpClient.Connect()?

Regards,

Krzysztof Kozlowski

Replies:

www.cryer.info
Managed Newsgroup Archive