TCP Connected

Rusty

Well-Known Member
Licensed User
Longtime User
Is there a way to tell if a connected TCP connection has become "disconnected"?
My Android is he client, if that matters.
Thanks,
 
Code:
if Socket1.Connected then
   'Tests wether the socket is connected
end if

You could also use some sort of pinging the server, like having a small echo routine on the server.

Rolf
 
Upvote 0
Back
Top