Winsock, vb6, tcp connection.
Is there any way to tell serverside if your client is not connected anymore?
Thanks.
Printable View
Winsock, vb6, tcp connection.
Is there any way to tell serverside if your client is not connected anymore?
Thanks.
The Close event will fire when the connection is terminated.
Will the Close event fire only if the client disconnected properly? Or will it also fire if, say, the client crashes? I need to know whether the Close event is aware of all lost connections, or only the ones that are disconnected properly.
Past experience has told me it will, not matter the type of termination. Although, it may be better to do something like IRC, and send Ping requests every so often. Just to be sure.
Phreak