[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

How to set Indy 10 TCP Client Connect Timeout ?

Asked by Black_Sheep in Delphi Components, Delphi Programming, Internet and Delphi Programming

Tags: Delphi Indy TldTCPClient

Experts,

I have a TCP client application that works great except I can't get it to behave gracefully if the server isn't found. I've set the ConnectTimeout value but it doesn't seem to do anything. If it can't make a connection it hangs for 20 or 30 seconds and then gives an error instead of the 1 second I've set it to.

How do I actually set a value for this, or is there another way?

Configuration details: Indy10 with Delphi 2009, TldTCPClient on Vista Home Premium SP2

--
Thanks in advance from Black_Sheep  :)

[+][-]10/27/09 08:41 AM, ID: 25673676Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-89 - Hierarchy / EE_QW_3_20080625