sendmmsg() Expected Behavior?
Valdis.Kletnieks at vt.edu
Valdis.Kletnieks at vt.edu
Thu Oct 23 23:41:41 EDT 2014
On Thu, 23 Oct 2014 19:43:07 -0700, Hei Chan said:
> Then, I found that recvmmsg() doesn't return all the packets that queued in 1
> single call.
You want to receive *all* of them? Call recv() with a *buf and a len
big enough to get a *lot* of msgs, and pass MSG_ALL in the flags.
Why were you expecting recvmsg() to return more than one message?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20141023/fff64c4e/attachment.bin
More information about the Kernelnewbies
mailing list