mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Anton Blanchard <anton@samba.org>
To: Lee Chin <leechinus@yahoo.com>
Cc: "linux, kernel" <linux-kernel@vger.kernel.org>,
	Linux Net <linux-net@vger.kernel.org>
Subject: Re: sendfile from sockets
Date: Mon, 19 Nov 2001 17:16:53 +1100	[thread overview]
Message-ID: <20011119171653.E6367@krispykreme> (raw)
In-Reply-To: <20011119060850.53289.qmail@web14311.mail.yahoo.com>
In-Reply-To: <20011119060850.53289.qmail@web14311.mail.yahoo.com>


> Although the man page says you can sendfile from a
> socket,I am unable to do so... I can only send file
> from a file, to either a socket or file
> 
> Is this a kernel limitation?

Yes, the manpage needs updating, you can only sendfile() from
something that exists in the pagecache (ie not a socket).

Anton

  reply	other threads:[~2001-11-19  6:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-19  6:08 Lee Chin
2001-11-19  6:16 ` Anton Blanchard [this message]
2001-11-19  8:00   ` Lee Chin
2001-11-21 13:12   ` bert hubert

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=20011119171653.E6367@krispykreme \
    --to=anton@samba.org \
    --cc=leechinus@yahoo.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-net@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®