Messages in this thread | | | From | drepper@gmail ... | Date | Wed, 24 Mar 2010 11:34:42 -0700 (PST) | Subject | Re: behavior of recvmmsg() on blocking sockets |
| |
On Wed, Mar 24, 2010 at 11:28, Brandon Black <blblack@gmail.com> wrote: > I still think having a "block until at least one packet arrives" mode > for recvmmsg() makes sense though.
I agree. This is the mode I've seen people asking for. They want the call to return as quickly as possible if there is data and then with as many messages as possible. A MSG_WAITFORONE flag would do the trick nicely.[unhandled content-type:application/pgp-signature] | |