Module msghdr

Source
Expand description

Utilities for dealing with message headers.

These take closures rather than returning a c::msghdr directly because the message headers may reference stack-local data.

Functionsยง

msg_control_len ๐Ÿ”’
msg_iov_len ๐Ÿ”’
noaddr_msghdr ๐Ÿ”’
Create a message header intended to send without an address.
with_msghdr ๐Ÿ”’ โš 
Create a message header intended to send with the specified address.
with_recv_msghdr ๐Ÿ”’ โš 
Create a message header intended to receive a datagram.
zero_msghdr ๐Ÿ”’
Create a zero-initialized message header struct value.