Winsock, vb6, tcp connection.

Is there any way to tell serverside if your client is not connected anymore?
Thanks.