#include "dns.hpp"
#include "../util/scheduler.hpp"
#include <boost/asio/io_service.hpp>
#include <boost/asio/ip/udp.hpp>
Go to the source code of this file.
Classes | |
class | ndn::dns::Resolver |
Namespaces | |
ndn | |
Copyright (c) 2011-2015 Regents of the University of California. | |
ndn::dns | |
Functions | |
void | ndn::dns::asyncResolve (const std::string &host, const SuccessCallback &onSuccess, const ErrorCallback &onError, boost::asio::io_service &ioService, const AddressSelector &addressSelector=AnyAddress(), time::nanoseconds timeout=time::seconds(4)) |
Asynchronously resolve host. More... | |
IpAddress | ndn::dns::syncResolve (const std::string &host, boost::asio::io_service &ioService, const AddressSelector &addressSelector=AnyAddress()) |
Synchronously resolve host. More... | |