[Haskell-cafe] ANN: network-simple 0.1.0.1
gnuk0001 at gmail.com
Tue Apr 23 18:39:02 CEST 2013
Since the release of `pipes-network`, I've been encouraged to move the
non-pipes-related TCP utilities to their own package, so I've done
that, and `network-simple` is the result.
This package builds on top of the great `network` package available in
The Haskell Platform, and aims to simplify the usage of some common
networking patterns, such as binding a TCP socket to a port and
immediately start listening and accepting incoming connections to it,
handling each connection in a different thread. Managing the lifetime
of the obtained socket resources is also automated.
Currently, only utilities for dealing with TCP connections are
available, but I look forward to add support for UDP and Unix Domain
Sockets, as well as TLS.
Hackage hasn't rendered the documentation yet, so I uploaded the
The code can be found at: https://github.com/k0001/network-simple
I've only tried this package on the current Haskell Platform
2012.4.0.0 on Linux, let me know if something does not work in a
By the way, `pipes-network-0.1.1.0` now depends on this package.
More information about the Haskell-Cafe