xtd - Reference Guide
0.1.2
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
|
#include <dns.h>
Inherits xtd::static_object.
Static Public Member Functions | |
static std::vector< xtd::net::ip_address > | get_host_addresses (const xtd::ustring &host_name_or_address) |
Returns the Internet Protocol (IP) addresses for the specified host. | |
static xtd::net::ip_host_entry | get_host_entry (const ip_address &address) |
Resolves an IP address to an xtd::net::ip_host_entry instance. | |
static xtd::net::ip_host_entry | get_host_entry (const xtd::ustring &host_name_or_address) |
Resolves a host name or IP address to an xtd::net::ip_host_entry instance. | |
static xtd::ustring | get_host_name () |
Gets the host name of the local computer. | |
|
static |
Returns the Internet Protocol (IP) addresses for the specified host.
host_name_or_address | The host name or IP address to resolve. |
|
static |
Resolves an IP address to an xtd::net::ip_host_entry instance.
address | An IP address. |
|
static |
Resolves a host name or IP address to an xtd::net::ip_host_entry instance.
host_name_or_address | The host name or IP address to resolve. |
|
static |
Gets the host name of the local computer.