dns.cpp File Reference
#include "ndn-cxx/net/dns.hpp"
#include "ndn-cxx/util/scheduler.hpp"
#include <boost/asio/ip/udp.hpp>
#include <boost/asio/post.hpp>
+ Include dependency graph for dns.cpp:

Go to the source code of this file.

Namespaces

 ndn
 
 ndn::dns
 

Functions

void ndn::dns::asyncResolve (const std::string &host, const SuccessCallback &onSuccess, const ErrorCallback &onError, boost::asio::io_context &ioCtx, const AddressSelector &addressSelector=AnyAddress(), time::nanoseconds timeout=4_s)
 Asynchronously resolve host. More...