MissingH-1.6.0.0: Large utility library
CopyrightCopyright (C) 2004-2011 John Goerzen
LicenseBSD-3-Clause
Stabilitystable
Portabilitysystems with networking
Safe HaskellTrustworthy
LanguageHaskell2010

Network.Utils

Description

This module provides various helpful utilities for dealing with networking

Written by John Goerzen, jgoerzen@complete.org

Synopsis

Documentation

niceSocketsDo :: IO a -> IO a Source #

Sets up the system for networking. Similar to the built-in withSocketsDo (and actually, calls it), but also sets the SIGPIPE handler so that signal is ignored.

Example:

main = niceSocketsDo $ do { ... }