Quote Originally Posted by Lindley View Post
If it's a TCP socket, it has internal means to validate that the connection is still active. If the connection goes down, you typically get an error from any function you call tell you so (send, recv, etc).
I see, thank you. It's TCP.