BSD-3-Clause licensed by Kazu Yamamoto
Maintained by [email protected]
This version can be pinned in stack with:network-run-0.5.0@sha256:7674f855f3df6b4793618d1807d9a537018d20e38fa6fbafb310d7b18f69e02a,826

Module documentation for 0.5.0

Used by 3 packages in nightly-2025-11-21(full list with versions):

Simple functions to run network clients and servers.

Changes

Revision history for network-run

0.5.0

  • Fixing a bug that TimeoutServer is not killed.
  • Breaking change: the signatures of Timeout.runTCPServer and Timeout.runTCPServerWithSocket are changed.

0.4.3

  • Using time-manager >= 0.2.

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