Oct. 24, 2014
3:41 a.m.
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?