[Haskell-cafe] Re: whatever happened to sendFile?

Jason Dusek jason.dusek at gmail.com
Wed Aug 13 18:40:43 EDT 2008

  It looks like there could be a Haskell sendfile for Windows as
  as well *NIX. However, the *NIX implementations are:

 :: File Descriptor -> File Descriptor -> IO ()

  while the Windows version is:

 :: File Descriptor -> Socket -> IO ()

  A cross platfrom implementation would cover the case we most
  care about -- writing services that pass static files back to
  clients -- but would have to cut some functionality from the
  *NIX sendfile().

 |...for Windows...|


More information about the Haskell-Cafe mailing list