7 #include "../core_export.h" 10 #include "../ustring.h" 29 end_point& operator=(
const end_point&) =
default;
30 friend std::ostream& operator <<(std::ostream& os,
const end_point& end_point) noexcept {
return os << end_point.
to_string();}
52 virtual socket_address serialize()
const;
68 end_point() =
default;
Identifies a network address. This is an abstract class.
Definition: end_point.h:24
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Contains xtd::net::socket_address class.
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:50
std::string to_string(const date_time &value, const std::string &fmt, const std::locale &loc)
Convert a specified value into a string with specified format and locale.
Definition: date_time.h:1110
Stores serialized information from end_point derived classes.
Definition: socket_address.h:28
end_point(sockets::address_family address_family)
Initializes a new instance of the xtd::net::end_point class.
Definition: end_point.h:64
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes...
Definition: object.h:30
Contains xtd::net::sockets::address_family enum.
ustring to_string() const noexcept override
Returns a string that represents the current object.
address_family
Specifies the addressing scheme that an instance of the xtd::net::sockets::socket class can use...
Definition: address_family.h:27