public inbox for io-uring@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Alex Nash <nash@vailsys.com>, io-uring@vger.kernel.org
Subject: Re: [PATCH] io_uring: add support for sendto(2) and recvfrom(2)
Date: Mon, 6 Jul 2020 14:44:50 -0600	[thread overview]
Message-ID: <fdd60247-293c-a510-9a67-8428bd7456e8@kernel.dk> (raw)
In-Reply-To: <20200706180928.10752-1-nash@vailsys.com>

On 7/6/20 12:09 PM, Alex Nash wrote:
> This adds IORING_OP_SENDTO for sendto(2) support, and IORING_OP_RECVFROM
> for recvfrom(2) support.

I'll ask the basic question that Jann also asked last week - why sendto
and recvfrom, when you can use recvmsg and sendmsg to achieve the same
thing?

-- 
Jens Axboe


  reply	other threads:[~2020-07-06 20:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-06 18:09 [PATCH] io_uring: add support for sendto(2) and recvfrom(2) Alex Nash
2020-07-06 20:44 ` Jens Axboe [this message]
2020-07-07 18:29   ` Jens Axboe
2020-07-08 13:59     ` Alex Nash

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=fdd60247-293c-a510-9a67-8428bd7456e8@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=io-uring@vger.kernel.org \
    --cc=nash@vailsys.com \
    /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