Defines the polling modes for the Socket.Poll(int, SelectMode) method.
The System.Net.Sockets.SelectMode enumeration defines the polling modes that can be passed to the Socket.Poll(int, SelectMode) method. Use the SelectMode.SelectRead value to determine if a listening System.Net.Sockets.Socket has incoming connection requests. Use the SelectMode.SelectWrite value to determine if a System.Net.Sockets.Socket is writeable. Use the SelectMode.SelectError value to determine if there is an error condition present on the System.Net.Sockets.Socket. For explanations of writeability, readability, and the presence of error conditions, see the Socket.Poll(int, SelectMode) method.
Member Name | Description |
---|---|
SelectError |
Error status mode. |
SelectRead |
Read status mode. |
SelectWrite |
Write status mode. |