On Mon, Feb 9, 2009 at 1:22 PM, Ketil Malde <ke...@malde.org> wrote:
> Johan Tibell <johan.tib...@gmail.com> 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/c13d8fab5179e6afbcdebac95d4993ac57f04689/Network/Socket/ByteString/Internal.hs

Cheers,

Johan
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to