System.Net.Sockets.SelectMode Enumeration

Defines the polling modes for the Socket.Poll(int, SelectMode) method.

Syntax

public enum SelectMode

Remarks

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.

Members

Member NameDescription
SelectError

Error status mode.

SelectRead

Read status mode.

SelectWrite

Write status mode.

Requirements

Namespace: System.Net.Sockets
Assembly: System (in System.dll)
Assembly Versions: 1.0.x.x, 1.0.5000.0, 2.0.0.0, 4.0.0.0