[Haskell-cafe] whatever happened to sendFile?

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Thu Aug 14 20:17:24 EDT 2008


On 2008 Aug 14, at 19:07, Richard A. O'Keefe wrote:

> to me, two of them don't have it, and the third seems to be
> saying you cannot use it to move data from a file (which is
> not a pipe) to a socket (which is not a pipe), which is the
> use-case for sendfile().


Actually, while I'm not sure how Linux does it, on the *BSDs pipes are  
actually socketpairs.

-- 
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH




More information about the Haskell-Cafe mailing list