Determine if the current client connection has been closed by the
remote host.
Syntax
object.IsClosed
Remarks
The IsClosed property returns True if
the current client connection has been closed by the remote host. The
value of this property is only meaningful inside an event handler
such as OnRead.