Subject: asymmetry with MSG_DONTWAIT in sendmsg() and recvmsg()

From: Chris Friesen <[email-masked]>
Date: Wed, 07 Jul 2004 09:42:06 -0400

I have a SOCK_STREAM PF_UNIX socket with no special options enabled using fcntl().

The default with sendmsg() and recvmsg() is to block.

With sndmsg(), I can use the MSG_DONTWAIT flag to enable non-blocking operation 
for that one call.

How do I do the equivalent for recvmsg()?

Thanks,

Chris