Constant lrs::socket::msg::MSG_DONT_BLOCK

Tells the kernel not to block on system calls.

Syntax

const MSG_DONT_BLOCK: MsgFlags = MsgFlags(cty::MSG_DONTWAIT);

Remarks

This can be used in all socket-related system function calls. If set, the kernel will not suspend the calling thread if an operation would block and instead returns an error.

See also