Detect Remote Socket Failure

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Can anyone tell me how to detect when a client socket connection has failed
(ie remote equipment power failure) using VB.net.
Thanks in advance
 
The only way I have found to implement this is to create a socket which will
be in charge to check the comunication with a remote server application.

For that , you need to get a time procedure that will send for instance a
connection request every minutes to the other side, then if no connection
request has been accepted then consider the remote socket has down.

I do not know if its a proper way doing this but at leat it works

regards
serge
MCP
 
Back
Top