1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
//! # MicroTp
//!
//! MicroTp is a library which can help build an application using
//! [Micro Transport Protocol][wikipedia_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.
//!
//! [wikipedia_micro_transport_protocol]: https://en.wikipedia.org/wiki/Micro_Transport_Protocol

pub mod connection;
pub mod packet;