inet::SocketAddress
- Inherits: inet::SocketFlags
public
Friends
#
AddressInfofriend class AddressInfo
Type: class
Parameters:
#
Socketfriend class Socket
Type: class
Parameters:
#
SocketAddress4friend class SocketAddress4
Type: class
Parameters:
#
SocketAddress6friend class SocketAddress6
Type: class
Parameters:
Functions
#
SocketAddress()=defaultinet::SocketAddress::SocketAddress ()=default
#
SocketAddress(const socket_address_union_t sockaddr, var::StringView canon_name="")inline
explicit
inet::SocketAddress::SocketAddress (const socket_address_union_t sockaddr, var::StringView canon_name="")
#
canon_name() constinline
const var::String & inet::SocketAddress::canon_name () const
Type: const var::String &
#
family() constinline
Family inet::SocketAddress::family () const
Type: Family
#
DetailsAccesses the family.
#
get_address_string() constinline
var::NumberString inet::SocketAddress::get_address_string () const
Type: var::NumberString
#
is_valid() constinline
bool inet::SocketAddress::is_valid () const
Type: bool
#
length() constinline
size_t inet::SocketAddress::length () const
Type: size_t
#
port() constinline
u16 inet::SocketAddress::port () const
Type: u16
#
to_sockaddr() constinline
const struct sockaddr * inet::SocketAddress::to_sockaddr () const
Type: const struct sockaddr *