#protocols #micro #utp

micro_tp

A Micro Transport Protocol (or uTP) implementation

1 unstable release

0.1.0 Nov 6, 2019

#5 in #utp

MIT/Apache

23KB
474 lines

MicroTp

MicroTp is a library which can help build an application using Micro Transport Protocol.

While the crate's current implementation is not complete, the idea is to build a μTP implementation which can be used by network applications.

Installation

[dependencies]
micro_tp = "0.1.0"

License

Licensed under either of Apache License, Version 2.0 or MIT License at your option.

Contributions

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


lib.rs:

MicroTp

MicroTp is a library which can help build an application using Micro Transport Protocol. μTP or (uTP) is a transport protocol commonly used by BitTorrent peer-to-peer connections. The transport protocol helps with congestion control on a limited bandwidth connection. At a high level, it "slows down" the number of packets transmitted if there is congestion, so it effectively deprioritizes the micro transport protocol based connection's network usage. In theory, μTP allows other applications' connections better opportunities to use the network bandwidth and more fairly shares the network resources.

No runtime deps