Timeout - Doesn't timeout in time to prevent hanging
Posted: 30.04.2007, 16:24
Dear Friends,
My application pings the server's IP address and connects when the server responds to the ping. This way I dont have to wait for connection to fail, which takes forever to respond.
When the server is unresponsive, I would like the connection to fail (quickly) so my application can know this and proceed to deal with the issue.
The TZconnection ignores the timeout=xx parameter and hangs the application. (when server is unresponsive).
Is there a way to get the failed connect, offline status of the server to return with an error (that is usable as an event) quick enough to prevent the client application from appearing to hang.? Please advise.
Regards
MParak
Durban.
My application pings the server's IP address and connects when the server responds to the ping. This way I dont have to wait for connection to fail, which takes forever to respond.
When the server is unresponsive, I would like the connection to fail (quickly) so my application can know this and proceed to deal with the issue.
The TZconnection ignores the timeout=xx parameter and hangs the application. (when server is unresponsive).
Is there a way to get the failed connect, offline status of the server to return with an error (that is usable as an event) quick enough to prevent the client application from appearing to hang.? Please advise.
Regards
MParak
Durban.