network-mux-0.4.5.1: Multiplexing library
Safe HaskellSafe-Inferred
LanguageHaskell2010

Network.Mux.Bearer.Socket

Synopsis

Documentation

socketAsMuxBearerSDUSizeDiffTimeTracer IO MuxTraceSocketMuxBearer IO Source #

Create MuxBearer from a socket.

On Windows Async operations are used to read and write from a socket. This means that the socket must be associated with the I/O completion port with associateWithIOCompletionPort.

Note: IOExceptions thrown by sendAll and recv are wrapped in MuxError.