Share via


SelectMode Enumeration

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Defines the polling modes for the Socket..::..Poll method.

Namespace:  System.Net.Sockets
Assembly:  System (in System.dll)

Syntax

'Declaration
Public Enumeration SelectMode
public enum SelectMode
public enum class SelectMode
type SelectMode
public enum SelectMode

Members

Member name Description
SelectRead Read status mode.
SelectWrite Write status mode.
SelectError Error status mode.

Remarks

The SelectMode enumeration defines the polling modes that can be passed to the Socket..::..Poll method. Use the SelectRead value to determine if a listening Socket has incoming connection requests. Use the SelectWrite value to determine if a Socket is writeable. Use the SelectError value to determine if there is an error condition present on the Socket. For explanations of writeability, readability, and the presence of error conditions, see the Socket..::..Poll method.

See Also

Reference

System.Net.Sockets Namespace