secureUDP: Setups secure (unsorted) UDP packet transfer.

[ library, mit, network ] [ Propose Tags ]

This simple module allows to send packages ensuring delivering over an UDP connection using ACKs and timeouts under the hood, also setups the threads needed for listening and sending, making them transparent to the user.

As the packages can be delivered just when they arrive, is not guarenteed that they arrive in order.

Once a sent package has passed many timeouts without been ACKed from the recipient it can be recognized as a lost package, meaning that the recipient cannot longer be reached.

[Skip to Readme]




Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],
Dependencies base (>=4.0 && <5.0), bytestring (>=0.10), containers (>=0.5), network (>=2.6 && <3.0) [details]
License MIT
Author Francisco Javier Andrés Casas Barrientos
Category Network
Source repo head: git clone git://
Uploaded by autopawn at 2017-01-14T06:17:06Z
Distributions NixOS:
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 1354 total (4 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for secureUDP-

[back to package description]


Haskell module for secure UDP packet transfer.

  • Packets ARE guaranteed to be received (and as fast as possible) if there's a connection.
  • Packets ARE guaranteed to arrive just once.
  • Packets ARE NOT guaranteed to arrive in order.


  • It's recommended that on the ChannelConfig, the maxPacketSize isn't set to a value larger than 500. Theoretically the IP protocol should partition packages larger than the MTU, however the packages could be dropped.
  • To avoid communication problems, all communicating channels should have the same ChannelConfig, except by the socket or the allowed function.