
9 Feb
2009
9 Feb
'09
7:57 a.m.
On Mon, Feb 9, 2009 at 1:22 PM, Ketil Malde
Johan Tibell
writes: If so, you might want to use `writev` to avoid extra copying.
Is there a Haskell binding somewhere, or do I need to FFI the system call? Googling 'writev haskell' didn't turn up anything useful.
To my knowledge there's no binding out there. We will include one for sockets in the next release of network-bytestring. You might find the code here useful if you want to write your own: http://github.com/tibbe/network-bytestring/blob/c13d8fab5179e6afbcdebac95d49... Cheers, Johan