50 uint16_t port() const noexcept;
Represents a network endpoint as a host name or a string representation of an IP address and a port n...
Definition: dns_end_point.h:18
dns_end_point(const xtd::ustring &host, uint16_t port, sockets::address_family address_family)
Initializes a new instance of the xtd::net::dns_end_point class with the host name or string represen...
dns_end_point(const xtd::ustring &host, uint16_t port)
Initializes a new instance of the xtd::net::dns_end_point class with the host name or string represen...
const xtd::ustring & host() const noexcept
Gets the host name or string representation of the Internet Protocol (IP) address of the host.
Identifies a network address. This is an abstract class.
Definition: end_point.h:24
ustring to_string() const noexcept override
Returns a string that represents the current object.
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:48
Contains xtd::net::end_point class.
#define core_export_
Define shared library export.
Definition: core_export.h:13
address_family
Specifies the addressing scheme that an instance of the xtd::net::sockets::socket class can use.
Definition: address_family.h:24
std::string to_string(const value_t &value, const std::string &fmt, const std::locale &loc)
Convert a specified value into a string with specified format and locale.
Definition: to_string.h:37
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17