asio C++ library

PrevUpHomeNext
ip::basic_resolver::basic_resolver (1 of 2 overloads)

Constructor.

basic_resolver(
    asio::io_context & io_context);

This constructor creates a ip::basic_resolver.

Parameters

io_context

The io_context object that the resolver will use to dispatch handlers for any asynchronous operations performed on the resolver.


PrevUpHomeNext