Re: sendfile from sockets

Anton Blanchard (anton@samba.org)
Mon, 19 Nov 2001 17:16:53 +1100


> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/