From: drepper@gmail.com
To: Brandon Black <blblack@gmail.com>
Cc: Chris Friesen <cfriesen@nortel.com>,
linux-kernel@vger.kernel.org, netdev@vger.kernel.org
Subject: Re: behavior of recvmmsg() on blocking sockets
Date: Wed, 24 Mar 2010 11:34:42 -0700 (PST) [thread overview]
Message-ID: <g76h4xrt5j1pw2kk3tUYAxe124vaj_firegpg@mail.gmail.com> (raw)
In-Reply-To: <84621a61003241128x3afbcea1w387aeaa68c887320@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 405 bytes --]
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.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 272 bytes --]
next prev parent reply other threads:[~2010-03-24 18:34 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-24 16:15 Brandon Black
2010-03-24 17:41 ` Chris Friesen
2010-03-24 18:28 ` Brandon Black
2010-03-24 18:34 ` drepper [this message]
2010-03-24 23:35 ` Brandon Black
2010-03-26 12:00 ` Ulrich Drepper
2010-03-26 14:20 ` Eric Dumazet
2010-03-24 19:36 ` Chris Friesen
2010-03-24 19:55 ` Brandon Black
2010-03-27 13:19 ` Brandon Black
2010-03-27 14:26 ` Arnaldo Carvalho de Melo
2010-03-29 16:18 ` Chris Friesen
2010-03-29 17:24 ` Brandon Black
2010-03-29 17:48 ` Chris Friesen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=g76h4xrt5j1pw2kk3tUYAxe124vaj_firegpg@mail.gmail.com \
--to=drepper@gmail.com \
--cc=blblack@gmail.com \
--cc=cfriesen@nortel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®