IsReadable Property  
 

Determine if data can be read from the socket without blocking.

Syntax

object.IsReadable

Remarks

The IsReadable property returns True if data can be read from the socket without blocking. For non-blocking sockets, this property can be checked before the application attempts to read the socket, preventing an error.

Data Type

Boolean

See Also

IsClosed Property, IsWritable Property, Peek Method, Read Method, OnRead Event