network-run

Simple network runner library

Version on this page:0.4.2
LTS Haskell 24.2:0.4.4
Stackage Nightly 2025-08-01:0.4.4
Latest on Hackage:0.4.4

See all snapshots network-run appears in

BSD-3-Clause licensed by Kazu Yamamoto
Maintained by [email protected]
This version can be pinned in stack with:network-run-0.4.2@sha256:74e57298c0cbfe797c41ab9d4ae725f243b0407bcb058b24f6acd778ff21d283,828

Module documentation for 0.4.2

Used by 3 packages in nightly-2024-12-03(full list with versions):

Simple functions to run network clients and servers.

Changes

Revision history for network-run

0.4.2

  • Using withHandle of time-manager.

0.4.1

  • Make sure to cancel Handles. #13
  • New API: openClientSocketWithOpts, openServerSocketWithOpts and openTCPServerSocketWithOpts. #12

0.4.0

  • New API: openTCPServerSocket, runTCPClientWithSettings, etc.
  • Breaking change: runTCPServerSocket takes a socket itself

0.3.2

  • Add openServerSocketWithOptions, openClientSocketWithOptions, runTCPServerWithSocketOptions, runTCPClientWithSocketOptions. #6

0.3.1

  • Using close instead of gracefulClose for client #5

0.3.0

  • Specifying IPv6Only #4

0.2.8

  • runTCPClient specifies AI_ADDRCONFIG.

0.2.7

  • Introduce runTCPServerWithSocket #3

0.2.6

  • Adding the Network.Run.TCP.Timeout module.

0.2.5

  • Making accept breakable on windows #2