#include <ip_host_entry.h>
Provides a container class for Internet host address information.
- Namespace
- xtd::net
- Library
- xtd.core
Inherits xtd::object.
|
static bool | equals (const object &object_a, const object &object_b) noexcept |
| Determines whether the specified object instances are considered equal.
|
|
static bool | reference_equals (const object &object_a, const object &object_b) noexcept |
| Determines whether the specified object instances are the same instance.
|
|
◆ ip_host_entry()
xtd::net::ip_host_entry::ip_host_entry |
( |
| ) |
|
|
default |
◆ address_list() [1/3]
Get List of IP addresses that are associated with a host.
- Returns
- An xtd::net::ip_address array of IP addresses that are associated with a host.
◆ address_list() [2/3]
Get List of IP addresses that are associated with a host.
- Returns
- An xtd::net::ip_address array of IP addresses that are associated with a host.
◆ address_list() [3/3]
Set List of IP addresses that are associated with a host.
- Parameters
-
- Returns
- The current instance.
◆ aliases() [1/3]
const std::vector< xtd::ustring > & xtd::net::ip_host_entry::aliases |
( |
| ) |
const |
|
noexcept |
Get List of aliases that are associated with a host.
- Returns
- A string array of aliases that are associated with a host.
◆ aliases() [2/3]
std::vector< xtd::ustring > & xtd::net::ip_host_entry::aliases |
( |
| ) |
|
|
noexcept |
Get List of aliases that are associated with a host.
- Returns
- A string array of aliases that are associated with a host.
◆ aliases() [3/3]
Set List of aliases that are associated with a host.
- Parameters
-
aliases | A string array of aliases that are associated with a host. |
- Returns
- The current instance.
◆ host_name() [1/2]
const xtd::ustring & xtd::net::ip_host_entry::host_name |
( |
| ) |
const |
|
noexcept |
Get the DNS name of the host.
- Returns
- A string represent the DNS name of the host.
◆ host_name() [2/2]
Set the DNS name of the host.
- Parameters
-
hist_name | A string represent the DNS name of the host. |
- Returns
- The current instance.
The documentation for this class was generated from the following file: