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...|
  
http://msdn.microsoft.com/en-us/library/system.net.sockets.socket.sendfile.aspx

-- 
_jsn
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to