| Home | Libraries | People | FAQ | More

#### ip::basic_resolver_iterator::create

Create an iterator from an addrinfo list returned by getaddrinfo.

    static basic_resolver_iterator create(
        boost::asio::detail::addrinfo_type * address_info,
        const std::string & host_name,
        const std::string & service_name);

Create an iterator from an endpoint, host name and service name.

    static basic_resolver_iterator create(
        const typename InternetProtocol::endpoint & endpoint,
        const std::string & host_name,
        const std::string & service_name);