IsClosed Property  
 

Determine if the connection has been closed by the remote host.

Syntax

object.IsClosed

Remarks

The IsClosed property returns True if the socket connection has been closed by the remote host. Note that it is possible to continue to receive data due to buffering.

Data Type

Boolean

See Also

IsReadable Property, IsWritable Property