xtd 0.2.0
Loading...
Searching...
No Matches

◆ get_host_addresses()

static std::vector< xtd::net::ip_address > xtd::net::dns::get_host_addresses ( const xtd::string host_name_or_address)
static

Returns the Internet Protocol (IP) addresses for the specified host.

Parameters
host_name_or_addressThe host name or IP address to resolve.
Returns
An array of type xtd::net::ip_address that holds the IP addresses for the host that is specified by the host_name_or_address parameter..