Low-level networking interface for Haskell
open sourceBSD-3-Clausefree
Haskell's standard low-level networking library: the Berkeley sockets API (creating sockets, binding, listening, connecting, sending and receiving) across Linux, macOS, other Unix systems and Windows. It's the cross-platform core that higher-level packages such as crypton-connection, hookup and network-run build on, while extras live in companion packages (network-bsd, network-uri). Since version 4.0 it supports GHC 9.4 or later and, on Windows, only GHC's WinIO I/O manager. Maintained by Kazu Yamamoto and Tamar Christina; BSD-3-Clause.
Problems it solves
- open a TCP or UDP socket from a Haskell program
- write a network server in Haskell at the socket level
- the sockets library Haskell networking packages depend on
Features
- Berkeley sockets API for Haskell
- works on Unix systems and Windows
- the core that higher-level Haskell networking packages build on
Limitations
- Version 4.0 and later need GHC 9.4 or newer, and on Windows only GHC's WinIO I/O manager1
