Inherited from basic_io_object.
(Deprecated: Use get_executor()
.)
Get the io_service
associated with the object.
asio::io_service & get_io_service();
This function may be used to obtain the io_service
object that the I/O
object uses to dispatch handlers for asynchronous operations.
A reference to the io_service
object that the I/O
object will use to dispatch handlers. Ownership is not transferred to the
caller.