SocketTools .NET Edition

PopClient.IsReadable Property

Gets a value which indicates if there is data available to be read from the socket connection to the server.

[Visual Basic]
Public ReadOnly Property IsReadable As Boolean
[C#]
public bool IsReadable {get;}

Property Value

Returns true if there is data available to be read; otherwise returns false.

Remarks

The IsReadable property returns true if data can be read from the client without blocking. For non-blocking sessions, this property can be checked before the application attempts to read the client. Note that even if this property does return true indicating that there is data available to be read, applications should always check the return value from the Read method.

See Also

PopClient Class | SocketTools Namespace