OnClose
This is a Socket Object event that occurs when the connection has been closed by the remote host. This does not occur when the sktClose method has been called.
Group: Event
Applies to: Socket Object
Example:
Dim WithEvents oSocket As Socket ' module level Dim
Private Sub oSocket_OnClose()
On Error Resume Next
End Sub