#include "ndn-cxx/detail/asio-fwd.hpp"
#include "ndn-cxx/util/time.hpp"
#include <boost/asio/ip/address.hpp>
Go to the source code of this file.
|
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=4_s) |
| 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...
|
|