secureUDP: Setups secure (unsorted) UDP packet transfer.

[ library, mit, network ] [ Propose Tags ] [ Report a vulnerability ]

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]

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 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 repo head: git clone git://github.com/Autopawn/haskell-secureUDP.git
Uploaded by autopawn at 2017-01-14T06:17:06Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 1454 total (7 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-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.