73 bool equals(const
object& obj) const noexcept override;
Defines a generalized method that a value type or class implements to create a type-specific method f...
Definition iequatable.hpp:22
dns_end_point(const xtd::string &host, uint16 port)
Initializes a new instance of the xtd::net::dns_end_point class with the host name or string represen...
xtd::size get_hash_code() const noexcept override
Serves as a hash function for a particular type.
dns_end_point(const xtd::string &host, uint16 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...
uint16 port() const noexcept
Gets the port number of the endpoint.
bool equals(const object &obj) const noexcept override
Determines whether the specified object is equal to the current object.
xtd::string to_string() const noexcept override
Returns a string that represents the current object.
const xtd::string & 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.hpp:27
sockets::address_family address_family() const noexcept
Gets the address family to which the endpoint belongs.
Contains xtd::net::end_point class.
#define core_export_
Define shared library export.
Definition core_export.hpp:13
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition __string_definitions.hpp:43
size_t size
Represents a size of any object in bytes.
Definition size.hpp:23
uint16_t uint16
Represents a 16-bit unsigned integer.
Definition uint16.hpp:23
address_family
Specifies the addressing scheme that an instance of the xtd::net::sockets::socket class can use.
Definition address_family.hpp:30
@ other
The operating system is other.
Definition platform_id.hpp:58
Contains xtd::iequatable interface.
The xtd::net namespace provides a simple programming interface for many of the protocols used on netw...
Definition cookie_exception.hpp:10
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8