ip::basic_resolver_iterator::create

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

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