TCP Testing connection
Posted: Tue Nov 17, 2009 4:31 am
Hello,
I have a problem where theres a server running that will do a TCP poll every 5 minutes or so and I am experiencing that the connection will be lost. To deal with this I am currently having a 15 min timeout and then running the accept command again. Is there a better way to test that there is still a connection. My polling server is not detecting the comm loss and it just returns read errors - timeout.
Thanks
I have a problem where theres a server running that will do a TCP poll every 5 minutes or so and I am experiencing that the connection will be lost. To deal with this I am currently having a 15 min timeout and then running the accept command again. Is there a better way to test that there is still a connection. My polling server is not detecting the comm loss and it just returns read errors - timeout.
Thanks