Perhaps the simplest thing to do would be to add a timer that "Pings"
the remote connection every few seconds and if the Ping fails then you
know that you are disconnected and can then close the existing
connection and try re-opening it until you are successful.
On 3 Aug 2006 11:49:39 -0700, "Pete" <ap*****@aol.comwrote:
>Hi All,
I am using VB.NET and TCP/IP synchronous sockets to connect to listener
software on another machine. I was wondering if anyone could help me
understand how to automatically detect and re-establish the connection
to the workstation the listener software is running on if it goes
"down" for any reason . . .
TIA,
Pete