Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

StreamingCommons – Streaming Network Utilities

Lean: Hale.StreamingCommons | Haskell: streaming-commons

Streaming network utilities: bind/connect helpers and application data abstraction.

Key Types

TypeDescription
AppDataConnection data with read/write/close/address fields

API

FunctionDescription
bindPortTCPBind server socket to port
getSocketTCPConnect to remote TCP server
acceptSafeAccept with transient error retry

Files

  • Hale/StreamingCommons/Data/Streaming/Network.lean – AppData, bind/connect helpers