Safe Haskell | Safe-Infered |
---|
Documentation
:: Bool | True: system calls; otherwise: portable. |
Indicates whether loopSplice
uses zero copy system calls
or the portable user mode Haskell substitue implementation.
The loopSplice
function pipes data from
one socket to another in an infinite loop.
On Linux this happens in kernel space with
zero copying, between kernel and user space.
On other operating systems, a portable
implementation utilizes a user space buffer
and works on handles instead of file descriptors.