network-simple

Simple network sockets usage patterns.

https://github.com/k0001/network-simple

Version on this page:0.4.0.5
LTS Haskell 22.13:0.4.5
Stackage Nightly 2024-03-14:0.4.5
Latest on Hackage:0.4.5

See all snapshots network-simple appears in

BSD-3-Clause licensed by Renzo Carbonara
Maintained by renzocarbonaraλgmail.com
This version can be pinned in stack with:network-simple-0.4.0.5@sha256:4244e33be837f85f9e5754323bae79065179021ac3879fd4b80031670a535a1f,1325

Module documentation for 0.4.0.5

network-simple

Build Status

Haskell library abstracting over simple network sockets usage patterns. Currently, only TCP sockets are supported. Support for UDP and Unix sockets is planned for future versions.

Check the source or rendered Haddocks for extensive documentation.

This code is licensed under the terms of the so called 3-clause BSD license. Read the file named LICENSE found in this same directory for details.

See the PEOPLE file to learn about the people involved in this effort.

Changes

Version 0.4.0.5

  • Bump upper bound on transformers dependency.

Version 0.4.0.4

  • Bump upper bound on exceptions dependency.

Version 0.4.0.3

  • Bump upper bound on exceptions dependency.

Version 0.4.0.2

  • Workaround sendLazy build issues in Windows 8 (see #13).

  • Bump upper bound on network dependency.

Version 0.4.0.1

  • Add sendLazy and sendMany to Network.Simple.TCP.

Version 0.4

  • Bump lower and upper bounds exceptions dependency. Replacing some uses of MonadCatch with `MonadMask.

  • Bump upper bound on network dependency.

  • Bump upper bound on transformers dependency.

Version 0.3.1

  • Bumped upper-bounds on exceptions dependency.

Version 0.3.0

  • Re-export Network.Socket.close at Network.Simple.TCP, except called closeSock.

  • Re-export Socket, SockAddr, HostName and ServiceName from Network.Socket at Network.Simple.TCP.

  • Generalize the IO monad by using MonadIO and MonadCatch (from the exceptions library).

Version 0.2.1.0

  • Export send and recv from Network.Simple.TCP.

  • Re-export Network.Socket.withSocketsDo from Network.Simple.TCP.

Version 0.2.0.1

  • FIX: acceptFork now properly closes the connection socket, even in case of asynchronous exceptions.

Version 0.2.0.0

  • Network.Simple.TCP.serveFork was renamed to serve, and the previous function named serve was removed.

Version 0.1.0.1

  • Fixed typos, including the maintainer email.

Version 0.1.0.0

  • First release.