...one of the most highly
regarded and expertly designed C++ library projects in the
world. — Herb Sutter and Andrei
Inherited from posix::descriptor.
get_executor().) Get the
associated with the object.
boost::asio::io_context & get_io_service();
This function may be used to obtain the
object that the I/O object uses to dispatch handlers for asynchronous operations.
A reference to the
object that the I/O object will use to dispatch handlers. Ownership is
not transferred to the caller.