Module lrs::socket::msg

Per-message flags

Description

These are flags that can be set per receive/send call and which will be returned on received messages.

Constants

NameDescription
MSG_CMSG_TRUNCATED

Marks truncated control messages.

MSG_CONFIRM

Informs the link-layer that we're receiving messages from the peer.

MSG_DONT_BLOCK

Tells the kernel not to block on system calls.

MSG_DONT_ROUTE

Tells the kernel not to route this message.

MSG_END_OF_RECORD

Marks the end of a SeqPacket record.

MSG_MORE

Tells the kernel not to send this message yet.

MSG_NONE

No flags.

MSG_OUT_OF_BAND

Marks out-of-band data.

MSG_PEEK

Receives data without removing it from the kernel queue.

MSG_REAL_SIZE

Tells the kernel to use read sizes instead of truncated sizes.

MSG_WAIT_ALL

Requests the full buffer to be filled.