lkml.org 
[lkml]   [2001]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PLEASE-TESTME] Zerocopy networking patch, 2.4.0-1
    On Tue, 9 Jan 2001, Ingo Molnar wrote:
    > :-) I think sendfile() should also have its logical extensions:
    > receivefile(). I dont know how the HPUX implementation works, but in
    > Linux, right now it's only possible to sendfile() from a file to a socket.
    > The logical extension of this is to allow socket->file IO and file->file,
    > socket->socket IO as well. (the later one could be interesting for things
    > like web proxies.)

    Just extend sendfile to allow any fd to any fd. sendfile already does
    file->socket and file->file. It only needs to be extended to do
    socket->file.

    -Dan

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:28    [W:0.023 / U:0.084 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site