boost::corosio::native_resolver::resolve

Asynchronously resolve a host and service to endpoints.

Synopsis

auto
resolve(
    std::string_view host,
    std::string_view service);

Description

Calls the backend implementation directly, bypassing virtual dispatch. Otherwise identical to resolver::resolve.

This resolver must outlive the returned awaitable.

resolver_results is an alias for std::vector<resolver_entry>; copying it deep‐copies every entry. See resolver::resolve.

Return Value

An awaitable yielding io_result<resolver_results>.

Parameters

Name

Description

host

The host name or address string.

service

The service name or port string.

Created with MrDocs