Asio v 1.11. The doc says that basic_stream_socket::get_io_service()
member function is deprecated and get_executor()
must be used instead. But the latter returns executor
not io_service
.
How to obtain reference to the io_service
object used by socket to construct another one?