| 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);

Construct with specified service name for a given protocol.

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

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

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

Construct with specified host name and service name for a given protocol.

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