From: Lee Chin <leechinus@yahoo.com>
To: Anton Blanchard <anton@samba.org>
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 00:00:12 -0800 (PST) [thread overview]
Message-ID: <20011119080012.75161.qmail@web14303.mail.yahoo.com> (raw)
In-Reply-To: <20011119171653.E6367@krispykreme>
Do I need to do something special to enable sendfile
in the kernel? It works on a 2.2 kernel, but not on a
2.4 kernel (and this is sendfile in general... not
just sockets)
Thanks
Lee
--- Anton Blanchard <anton@samba.org> wrote:
>
> > 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
__________________________________________________
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com
next prev parent reply other threads:[~2001-11-19 8:00 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
2001-11-19 8:00 ` Lee Chin [this message]
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=20011119080012.75161.qmail@web14303.mail.yahoo.com \
--to=leechinus@yahoo.com \
--cc=anton@samba.org \
--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®