#include "../util/time.hpp"#include <boost/asio/ip/address.hpp>#include <boost/asio/io_service.hpp>

Go to the source code of this file.
Classes | |
| struct | ndn::dns::AnyAddress |
| struct | ndn::dns::Ipv4Only |
| struct | ndn::dns::Ipv6Only |
| struct | ndn::dns::Error |
Namespaces | |
| ndn | |
| Copyright (c) 2011-2015 Regents of the University of California. | |
| ndn::dns | |
Typedefs | |
| typedef function< bool(const boost::asio::ip::address &address)> | ndn::dns::AddressSelector |
| typedef boost::asio::ip::address | ndn::dns::IpAddress |
| typedef function< void(const IpAddress &address)> | ndn::dns::SuccessCallback |
| typedef function< void(const std::string &reason)> | ndn::dns::ErrorCallback |
Functions | |
| void | ndn::dns::asyncResolve (const std::string &host, const SuccessCallback &onSuccess, const ErrorCallback &onError, boost::asio::io_service &ioService, const ndn::dns::AddressSelector &addressSelector=ndn::dns::AnyAddress(), const time::nanoseconds &timeout=time::seconds(4)) |
| Asynchronously resolve host. More... | |
| IpAddress | ndn::dns::syncResolve (const std::string &host, boost::asio::io_service &ioService, const ndn::dns::AddressSelector &addressSelector=ndn::dns::AnyAddress()) |
| Synchronously resolve host. More... | |