asio C++ library

PrevUpHomeNext

io_service::strand::get_io_service

(Deprecated: Use context().) Get the io_service associated with the strand.

asio::io_service & get_io_service();

This function may be used to obtain the io_service object that the strand uses to dispatch handlers for asynchronous operations.

Return Value

A reference to the io_service object that the strand will use to dispatch handlers. Ownership is not transferred to the caller.


PrevUpHomeNext