Skip to content

pxqr/bittorrent

Repository files navigation

BitTorrent Build Status

A BitTorrent library implementation. It allows to read/write torrent files, transfer data files, query trackers and DHT. The library is still in active development and have some subsystems partially implemented.

For lastest released version and reference documentation see hackage page.

Status

The protocol has many enchancements. This table keep track if a particular BEP is "todo", "in progress" or "complete":

BEP # Title Status
3 The BitTorrent Protocol Specification In progress
4 Known Number Allocations In progress
5 DHT In progress
6 Fast Extension In progress
7 IPv6 Tracker Extension In progress
9 Extension for Peers to Send Metadata Files In progress
10 Extension protocol In progress
12 Multitracker Metadata Extension In progress
15 UDP Tracker Protocol for BitTorrent In progress
20 Peer ID Conventions Implemented
23 Tracker Return Compact Peer Lists Implemented

Hacking

The root directory layout is as follows:

  • examples -- includes demo utilities to get started;
  • src -- the library source tree;
  • tests -- the library test suite;
  • res -- torrents and data files used in test suite.
  • sub -- subprojects and submodules used by the library and still in dev.

Some subdirectories includes README with futher explanations to get started.

Contacts