netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* asymmetry with MSG_DONTWAIT in sendmsg() and recvmsg()
@ 2004-07-07 13:42 Chris Friesen
  2004-07-08  8:34 ` Michael T Kerrisk
  0 siblings, 1 reply; 10+ messages in thread
From: Chris Friesen @ 2004-07-07 13:42 UTC (permalink / raw)
  To: netdev

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2004-07-08 19:05 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-07 13:42 asymmetry with MSG_DONTWAIT in sendmsg() and recvmsg() Chris Friesen
2004-07-08  8:34 ` Michael T Kerrisk
2004-07-08 16:21   ` Chris Friesen
2004-07-08 16:27     ` Andi Kleen
2004-07-08 16:49       ` Chris Friesen
2004-07-08 17:07         ` Andries Brouwer
2004-07-08 18:33           ` Chris Friesen
2004-07-08 19:05             ` Andries Brouwer
2004-07-08 17:25     ` Nivedita Singhvi
2004-07-08 18:34       ` Chris Friesen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).