The secureUDP package

[ Tags: 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]

Properties

Versions 0.1.1.1, 0.1.1.3
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
Maintainer franciscojacb@gmail.com
Category Network
Source repository head: git clone git://github.com/Autopawn/haskell-secureUDP.git
Uploaded Sat Jan 14 06:17:06 UTC 2017 by autopawn
Distributions NixOS:0.1.1.3
Downloads 100 total (5 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for secureUDP-0.1.1.3

[back to package description]

haskell-secureUDP

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.

Notes:

  • 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.