root / dotorg / v3 / html / assigned_numbers.html

Revision 10154, 1.9 kB (checked in by dave, 12 months ago)

Update copyright from 2006 to 2008.
Update four years of development to five.

Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4<head>
5<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
6<title>BitTorrent.org » For Developers » Assigned Numbers</title>
7<link rel="stylesheet" type="text/css" href="./css/screen.css" media="screen" />
8</head>
9<body id="www-bittorrent-org">
10<div id="upper" class="clear">
11<div id="wrap">
12<div id="header">
13<h1><a href="./index.html">BitTorrent<span>.org</span></a></h1>
14</div>
15<div id="nav">
16<ul>
17<li><a href="./index.html">Home</a></li>
18<li><a href="./introduction.html">For Users</a></li>
19<li><span>For Developers</span></li>
20<!-- <li><a href="./blog">Blog</a></li> -->
21<li><a href="./donate.html">Donate!</a></li>
22</ul>
23</div> <!-- nav -->
24<!-- ### Begin Content ### -->
25<div id="second">
26
27<P>
28This document describes the known bit allocations and message IDs for
29the BitTorrent protocol.  To request a bit allocation contact
30editor@bittorrent.org.  Contact the same address if you are aware of
31any omissions.
32</P>
33
34<H2> 1. Reserved Bit Allocations </H2>
35
36<pre>
37 reserved[0]
38 0x80  Azureus Messaging Protocol
39
40 reserved[5]
41 0x10  LTEP (LibTorrent Extension Protocol)
42
43 reserved[7]
44 0x01  BitTorrent DHT
45 0x04  suggest, haveall, havenone, reject request, and allow fast extensions
46</pre>
47
48<H2> 2. Reserved Message IDs </H2>
49
50<pre>
51Core Protocol:
52 0x00   choke
53 0x01   unchoke
54 0x02   interested
55 0x03   not interested
56 0x04   have
57 0x05   bitfield
58 0x06   request
59 0x07   piece
60 0x08   cancel
61 0x09   port
62
63</pre>
64
65<H3> 2.1 Fast Extensions </H3>
66
67<pre>
68 0x0D   suggest
69 0x0E   have all
70 0x0F   have none
71 0x10   reject request
72 0x11   allowed fast
73</pre>
74
75<H3> Additional IDs used in deployed clients </H3>
76<pre>
77 0x14   LTEP Handshake (implemented in libtorrent, uTorrent,...)
78</pre>
79
80</div>
81<div id="footer">
82<hr />
83<p>Copyright 2008 BitTorrent.org</p>
84</div>
85</body>
86</html>
Note: See TracBrowser for help on using the browser.