5#include "../core_export.hpp"
6#include "../object.hpp"
8#include "../string.hpp"
17 namespace sockets {
class socket;}
72 byte& operator [](
size_t index);
80 const byte& operator [](
size_t index)
const;
94 friend class sockets::socket;
95 std::vector<
xtd::
byte> bytes_;
Contains xtd::net::sockets::address_family enum.
Represents text as a sequence of character units.
Definition basic_string.hpp:79
Represents a network endpoint as an IP address and a port number.
Definition ip_end_point.hpp:23
Stores serialized information from end_point derived classes.
Definition socket_address.hpp:31
socket_address(sockets::address_family address_family, size_t buffer_size)
Creates a new instance of the xtd::net::socket_address class using the specified address family and b...
socket_address(const std::vector< xtd::byte > &buffer)
Creates a new instance of the xtd::net::socket_address class using the specified byte buffer .
socket_address(sockets::address_family address_family)
Creates a new instance of the xtd::net::socket_address class for the given address family.
xtd::string to_string() const noexcept override
Returns information about the socket address.
size_t size() const
Gets the underlying buffer size of the xtd::net::socket_address.
sockets::address_family address_family() const
Gets the address family to which the endpoint belongs.
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.hpp:42
#define core_export_
Define shared library export.
Definition core_export.hpp:13
address_family
Specifies the addressing scheme that an instance of the xtd::net::sockets::socket class can use.
Definition address_family.hpp:30
@ socket
Socket options apply to all sockets.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10