boost::asio::basic_socket_acceptor::wait
Wait for the acceptor to become ready to read, ready to write, or to have pending error conditions.
Synopses
Declared in <boost/asio/basic_socket_acceptor.hpp>
Wait for the acceptor to become ready to read, ready to write, or to have pending error conditions.
void
wait(wait_type w);
Wait for the acceptor to become ready to read, ready to write, or to have pending error conditions.
boost::system::error_code
wait(
wait_type w,
boost::system::error_code& ec);
Parameters
Name |
Description |
w |
Specifies the desired acceptor state. |
ec |
Set to indicate what error occurred, if any. |
Created with MrDocs