Expand description
The BSD sockets API requires us to read the ss_family
field before we can
interpret the rest of a sockaddr
produced by the kernel.
Structs§
Functions§
- Set the
ss_family
field of a socket address toAF_UNSPEC
, so that we can test forAF_UNSPEC
to test whether it was stored to. - Read an optional socket address returned from the OS.
- read_
sockaddr 🔒 ⚠Read a socket address encoded in a platform-specific format. - read_
sockaddr_ 🔒 ⚠os Read a socket address returned from the OS. - read_
ss_ 🔒 ⚠family Read thess_family
field from a socket address returned from the OS.