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?

Attachment: pgpImNQccMDXF.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to