D++ (DPP)  10.0.30
C++ Discord API Bot Library
dns.h File Reference
#include <dpp/export.h>
#include <netinet/in.h>
#include <netdb.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <string>
#include <unordered_map>
Include dependency graph for dns.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  dpp::dns_cache_entry
 Represents a cached DNS result. More...
 

Namespaces

 dpp
 The main namespace for D++ functions.
 

Typedefs

using dpp::dns_cache_t = std::unordered_map< std::string, dns_cache_entry * >
 Cache container type. More...
 

Functions

const dns_cache_entry * dpp::resolve_hostname (const std::string &hostname, const std::string &port)
 Resolve a hostname to an addrinfo. More...