LIBWIRE
Next-generation C++17 networking library.
|
Namespace with functions for interaction with system DNS resolver. More...
Functions | |
std::vector< address > | resolve (ip protocol, const std::string_view &domain, std::error_code &ec) noexcept |
Resolve domain name to one or more IP addresses of 'protocol' version. More... | |
std::vector< address > | resolve (ip protocol, const std::string_view &domain) |
Same as overload with error code but throws std::system_error instead of setting error code. More... | |
Namespace with functions for interaction with system DNS resolver.
|
noexcept |
Resolve domain name to one or more IP addresses of 'protocol' version.
std::vector<address> libwire::dns::resolve | ( | ip | protocol, |
const std::string_view & | domain | ||
) |
Same as overload with error code but throws std::system_error instead of setting error code.