xtd 0.2.0
Loading...
Searching...
No Matches

◆ select_mode

enum class xtd::net::sockets::select_mode
strong

Defines the polling modes for the xtd::net::sockets::socket::poll method.

enum class select_mode
select_mode
Defines the polling modes for the xtd::net::sockets::socket::poll method.
Definition select_mode.h:31
Header
#include <xtd/net/sockets/select_mode>
Namespace
xtd::net::sockets
Library
xtd.core
Remarks
The xtd::net::sockets::select_mode enumeration defines the polling modes that can be passed to the xtd::net::sockets::socket::poll method. Use the xtd::net::sockets::select_mode::select_read value to determine if a listening xtd::net::sockets::socket has incoming connection requests. Use the xtd::net::sockets::select_mode::select_write value to determine if a xtd::net::sockets::socket is writeable. Use the xtd::net::sockets::select_mode::select_error value to determine if there is an error condition present on the xtd::net::sockets::socket. For explanations of writeability, readability, and the presence of error conditions, see the xtd::net::sockets::socket::poll method.
Enumerator
select_read 

Read status mode.

select_write 

Write status mode.

select_error 

Error status mode.