boost::corosio::wait_type
Direction selector for socket and acceptor wait() operations.
Synopsis
Declared in <boost/corosio/wait_type.hpp>
enum class wait_type : int;
Description
Passed to socket::wait() and acceptor::wait() to select which readiness condition to await before returning.
Members
Name |
Description |
|
Wait until the descriptor is ready for a non‐blocking read. |
|
Wait until the descriptor is ready for a non‐blocking write. |
|
Wait until an error condition has been reported by the kernel (e.g. SO_ERROR is non‐zero or an exceptional event is pending). Error events are not buffered across operations: an error that fires before wait(error) is registered may be lost. Kernel semantics for what counts as an "error condition" vary by platform; treat the contract as best‐effort. |
Created with MrDocs