dns-srv.cpp File Reference
#include "dns-srv.hpp"
#include <sys/types.h>
#include <netinet/in.h>
#include <resolv.h>
#include <arpa/nameser.h>
#include <iostream>
+ Include dependency graph for dns-srv.cpp:

Go to the source code of this file.

Namespaces

 ndn
 Copyright (c) 2014-2017, Regents of the University of California, Arizona Board of Regents, Colorado State University, University Pierre & Marie Curie, Sorbonne University, Washington University in St.
 
 ndn::tools
 
 ndn::tools::autoconfig
 

Functions

static std::string ndn::tools::autoconfig::parseSrvRr (const QueryAnswer &queryAnswer, int answerSize)
 Parse SRV record. More...
 
std::string ndn::tools::autoconfig::querySrvRr (const std::string &fqdn)
 Send DNS SRV request for fqdn. More...
 
std::string ndn::tools::autoconfig::querySrvRrSearch ()
 Send DNS SRV request using search domain list. More...