libnick
2024.12.0
A cross-platform base for native Nickvision applications.
Loading...
Searching...
No Matches
include
network
dns.h
Go to the documentation of this file.
1
23
#ifndef DNS_H
24
#define DNS_H
25
26
#include <string>
27
#include <vector>
28
#include "
ipv4address.h
"
29
30
namespace
Nickvision::Network::DNS
31
{
37
std::vector<IPv4Address>
a
(
const
std::string& hostname);
43
std::vector<std::string>
txt
(
const
std::string& hostname);
44
}
45
46
#endif
//DNS_H
ipv4address.h
Nickvision::Network::DNS
Definition
dns.h:31
Nickvision::Network::DNS::txt
std::vector< std::string > txt(const std::string &hostname)
Gets text records for a hostname.
Nickvision::Network::DNS::a
std::vector< IPv4Address > a(const std::string &hostname)
Resolves a hostname to IPv4 addresses.
Generated by
1.12.0