From: Chris Friesen <cfriesen@nortelnetworks.com>
To: netdev@oss.sgi.com
Subject: asymmetry with MSG_DONTWAIT in sendmsg() and recvmsg()
Date: Wed, 07 Jul 2004 09:42:06 -0400 [thread overview]
Message-ID: <40EBFDAE.8070903@nortelnetworks.com> (raw)
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
next reply other threads:[~2004-07-07 13:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-07 13:42 Chris Friesen [this message]
2004-07-08 8:34 ` asymmetry with MSG_DONTWAIT in sendmsg() and recvmsg() 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40EBFDAE.8070903@nortelnetworks.com \
--to=cfriesen@nortelnetworks.com \
--cc=netdev@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.