| To: | netdev@xxxxxxxxxxx |
|---|---|
| Subject: | asymmetry with MSG_DONTWAIT in sendmsg() and recvmsg() |
| From: | Chris Friesen <cfriesen@xxxxxxxxxxxxxxxxxx> |
| Date: | Wed, 07 Jul 2004 09:42:06 -0400 |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 |
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 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | pskb change in dst->output, Herbert Xu |
|---|---|
| Next by Date: | Re: pskb change in dst->output, James Morris |
| Previous by Thread: | pskb change in dst->output, Herbert Xu |
| Next by Thread: | Re: asymmetry with MSG_DONTWAIT in sendmsg() and recvmsg(), Michael T Kerrisk |
| Indexes: | [Date] [Thread] [Top] [All Lists] |