
13 Aug
2008
13 Aug
'08
10:40 p.m.
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.a... -- _jsn