NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
dns.cpp File Reference
#include "dns.hpp"
#include "scheduler.hpp"
Include dependency graph for dns.cpp:

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
 

Typedefs

typedef boost::asio::ip::udp::endpoint ndn::dns::EndPoint
 
typedef boost::asio::ip::basic_resolver< boost::asio::ip::udp > ndn::dns::BoostResolver
 

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...