Module write_sockaddr

Source
Expand description

The BSD sockets API requires us to read the sa_family field before we can interpret the rest of a sockaddr produced by the kernel.

Functionsยง

encode_sockaddr_v4 ๐Ÿ”’
encode_sockaddr_v6 ๐Ÿ”’