forked from torrust/torrust-tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmod.rs
More file actions
71 lines (71 loc) · 2 KB
/
mod.rs
File metadata and controls
71 lines (71 loc) · 2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
//! Common code for the `BitTorrent` protocol.
//!
//! # Glossary
//!
//! - [Announce](#announce)
//! - [Info Hash](#info-hash)
//! - [Leecher](#leechers)
//! - [Peer ID](#peer-id)
//! - [Peer List](#peer-list)
//! - [Peer](#peer)
//! - [Scrape](#scrape)
//! - [Seeders](#seeders)
//! - [Swarm](#swarm)
//! - [Tracker](#tracker)
//!
//! Glossary of `BitTorrent` terms.
//!
//! # Announce
//!
//! A request to the tracker to announce the presence of a peer.
//!
//! ## Info Hash
//!
//! A unique identifier for a torrent.
//!
//! ## Leecher
//!
//! Peers that are only downloading data.
//!
//! ## Peer ID
//!
//! A unique identifier for a peer.
//!
//! ## Peer List
//!
//! A list of peers that are downloading a torrent.
//!
//! ## Peer
//!
//! A client that is downloading or uploading a torrent.
//!
//! ## Scrape
//!
//! A request to the tracker to get information about a torrent.
//!
//! ## Seeder
//!
//! Peers that are only uploading data.
//!
//! ## Swarm
//!
//! A group of peers that are downloading the same torrent.
//!
//! ## Tracker
//!
//! A server that keeps track of peers that are downloading a torrent.
//!
//! # Links
//!
//! Description | Link
//! ---|---
//! `BitTorrent.org`. A forum for developers to exchange ideas about the direction of the `BitTorrent` protocol | <https://www.bittorrent.org>
//! Wikipedia entry for Glossary of `BitTorrent` term | <https://en.wikipedia.org/wiki/Glossary_of_BitTorrent_terms>
//! `BitTorrent` Specification Wiki | <https://wiki.theory.org/BitTorrentSpecification>
//! Vuze Wiki. A `BitTorrent` client implementation | <https://wiki.vuze.com>
//! `libtorrent`. Complete C++ bittorrent implementation| <https://www.rasterbar.com/products/libtorrent/index.html>
//! UDP Tracker Protocol docs by `libtorrent` | <https://www.rasterbar.com/products/libtorrent/udp_tracker_protocol.html>
//! Percent Encoding spec | <https://datatracker.ietf.org/doc/html/rfc3986#section-2.1>
//!Bencode & bdecode in your browser | <https://github.com/Chocobo1/bencode_online>
pub mod common;
pub mod tracker;