7#include "../core_export.h"
10#include "../ustring.h"
49 ustring to_string() const noexcept override;
53 explicit
end_point(sockets::address_family address_family) : address_family_(address_family) {}
Contains xtd::net::sockets::address_family enum.
Identifies a network address. This is an abstract class.
Definition: end_point.h:24
virtual std::unique_ptr< end_point > create(const socket_address &socket_address) const
Creates an xtd::net::end_point instance from a socket_address instance.
ustring to_string() const noexcept override
Returns a string that represents the current object.
sockets::address_family address_family() const noexcept
Gets the address family to which the endpoint belongs.
Stores serialized information from end_point derived classes.
Definition: socket_address.h:28
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition: object.h:26
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:48
#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
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17
Contains xtd::net::socket_address class.