Subject | TIB_Connection timeout |
---|---|
Author | pchaisty |
Post date | 2003-06-10T15:24:37Z |
Does anyone know if it is possible to set the timeout period over
which a TIB_Connection will try to connect with a server over a TCP
port.
I suspect that this is a winsock property, but if the the server does
not exist then it can take for ages to return a connect error.
Meanwhile the machine appears to freeze and uit certainly can take
over a minute.
I would like to give the user control over this and set it to a
shorter period such as 15 seconds.
Peter
which a TIB_Connection will try to connect with a server over a TCP
port.
I suspect that this is a winsock property, but if the the server does
not exist then it can take for ages to return a connect error.
Meanwhile the machine appears to freeze and uit certainly can take
over a minute.
I would like to give the user control over this and set it to a
shorter period such as 15 seconds.
Peter