Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
ip::basic_resolver_query::basic_resolver_query (3 of 4 overloads)

Construct with specified host name and service name for any protocol.

    const std::string & host_name,
    const std::string & service_name,
    int flags = address_configured);