SocketTools .NET Edition

SocketWrench.IsWritable Property

Gets a value which indicates if data can be written to the socket without blocking.

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

Property Value

Returns true if data can be written to the socket; otherwise returns false.

Remarks

The IsWritable property returns true if data can be written to the socket without blocking. For non-blocking sockets, this property can be checked before the application attempts to write data to the socket. Note that even if this property does return true indicating that data can be written to the socket, applications should always check the return value from the Write method.

See Also

SocketWrench Class | SocketTools Namespace