netdev
[Top] [All Lists]

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

To: Nivedita Singhvi <niv@xxxxxxxxxx>
Subject: Re: asymmetry with MSG_DONTWAIT in sendmsg() and recvmsg()
From: Chris Friesen <cfriesen@xxxxxxxxxxxxxxxxxx>
Date: Thu, 08 Jul 2004 14:34:36 -0400
Cc: Michael T Kerrisk <mtk-lists@xxxxxxx>, netdev@xxxxxxxxxxx
In-reply-to: <40ED8399.2040907@us.ibm.com>
References: <40ED8399.2040907@us.ibm.com>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
Nivedita Singhvi wrote:
Chris Friesen wrote:
 > Michael T Kerrisk wrote:
 >
 >> MSG_DONTWAIT should also work with recvmsg().
 >
 >
 > Hmm...  Just tried it with a DGRAM socket, and it seems to work.  Any
 > ideas why its not in the man pages?

Think you are on an older version of the man pages.
It's been there for a while.

It's mentioned in the "msg_flags" section, which is set on call *return*. It's not mentioned in the "flags" section.


Perhaps its just in the wrong part of the man page...

Chris

<Prev in Thread] Current Thread [Next in Thread>