NetworkAddress#
-
struct NetworkAddress#
Public Functions
-
explicit NetworkAddress(std::string_view const &path)#
-
explicit NetworkAddress(uint16_t port)#
-
NetworkAddress(uint16_t port, NetworkAddress const&)#
-
NetworkAddress(struct sockaddr const*, socklen_t)#
-
NetworkAddress(NetworkAddress&&) = default#
-
NetworkAddress(NetworkAddress const&) = default#
-
NetworkAddress &operator=(NetworkAddress const&) = default#
-
inline operator struct sockaddr const*() const#
-
inline operator struct sockaddr*()#
-
operator struct sockaddr_in const&() const#
-
inline int family() const#
-
inline size_t size() const#
-
inline size_t max_size() const#
-
inline void set_size(size_t length)#
-
std::string to_string() const#
-
std::string to_string_2() const#
-
std::string path() const#
-
uint16_t port() const#
Public Static Functions
-
static NetworkAddress create_blocking(std::string const &address, uint16_t port = 0)#
-
static inline NetworkAddress create_blocking(std::string_view const &address, uint16_t port = 0)#
-
static bool is_ip_address(std::string_view const &address)#
-
explicit NetworkAddress(std::string_view const &path)#