| Home | Libraries | People | FAQ | More

#### ip::basic_resolver_query::basic_resolver_query

Construct with specified service name for any protocol.

    basic_resolver_query(
        const std::string & service_name,
        int flags = passive|address_configured);

    basic_resolver_query(
        const protocol_type & protocol,
        const std::string & service_name,
        int flags = passive|address_configured);

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

    basic_resolver_query(
        const protocol_type & protocol,
        const std::string & host_name,
        const std::string & service_name,
        int flags = address_configured);