Tells the kernel not to block on system calls.
const MSG_DONT_BLOCK: MsgFlags = MsgFlags(cty::MSG_DONTWAIT);
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.
sendmsg(2) and MSG_DONTWAIT therein