class SocketAddress
Defined at line 23 of file ../../sdk/lib/zxio/socket_address.h
A helper structure to keep a socket address and the variants allocations on the stack.
Public Methods
std::optional<SocketAddress> FromFidl (const fuchsia_net::wire::SocketAddress & from_addr)
Defined at line 27 of file ../../sdk/lib/zxio/socket_address.cc
zx_status_t LoadSockAddr (const struct sockaddr * addr, size_t addr_len)
Defined at line 44 of file ../../sdk/lib/zxio/socket_address.cc
template <typename F>
std::invoke_result_t<F, fuchsia_net::wire::SocketAddress> WithFIDL (F fn)
Defined at line 46 of file ../../sdk/lib/zxio/socket_address.h
bool operator== (const SocketAddress & o)
Defined at line 86 of file ../../sdk/lib/zxio/socket_address.cc
bool operator!= (const SocketAddress & o)
Defined at line 126 of file ../../sdk/lib/zxio/socket_address.cc
size_t hash ()
Defined at line 128 of file ../../sdk/lib/zxio/socket_address.cc