Re: sendfile from sockets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux