sockets: High-level network sockets

[ bsd3, library, network ] [ Propose Tags ]

This library provides a high-level abstraction for network sockets. It uses Haskell2010 (along with GADTs) without typeclasses to ensure that consumers of the API can only call appropriate functions on a socket.

Exceptions are tracked in the types of functions and returned to the caller with Either. The caller is free to handle these gracefully or to throw them. This library has another class of exceptions described as _unrecoverable_. This library only throws exceptions in three situations:

Versions [faq] 0.1.0.0, 0.3.0.0, 0.3.1.0
Change log CHANGELOG.md
Dependencies base (>=4.11.1.0 && <5), bytestring (==0.10.*), error-codes (==0.1.*), ip (>=1.4.1), posix-api (>=0.2.1), primitive (>=0.6.4), stm (>=2.4), text (>=1.2) [details]
License BSD-3-Clause
Copyright 2019 Andrew Martin
Author Andrew Martin
Maintainer andrew.thaddeus@gmail.com
Category Network
Home page https://github.com/andrewthad/sockets
Bug tracker https://github.com/andrewthad/sockets/issues
Uploaded by andrewthad at Fri Mar 15 19:03:08 UTC 2019
Distributions NixOS:0.3.1.0
Executables sockets-example
Downloads 108 total (77 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-03-15 [all 1 reports]

Modules

[Index] [Quick Jump]

Flags

NameDescriptionDefaultType
mmsg

Use sendmmsg and recvmmsg

DisabledManual
debug

Print debug output

DisabledManual
example

Build example executables

DisabledManual

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees