[Haskell-cafe] Data.ByteString.Lazy.hPut and timeouts?
bos at serpentine.com
Thu Jun 3 18:44:25 EDT 2010
On Wed, Jun 2, 2010 at 7:55 PM, Jeremy Shaw <jeremy at n-heptane.com> wrote:
> I know that some OSes provide a per socket timeout that I can set in my
> application code (instead of a system-wide timeout that can only be set by
> root). But that does not seem like a very portable solution.
SO_SENDTIMEO is your portable friend (can't remember whether it's exposed by
the network package, though).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe