Changeset 11078
- Timestamp:
- 05/13/2008 05:11:09 PM (4 months ago)
- Files:
-
- 1 modified
-
dotorg/trunk/html/beps/bep_0023.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dotorg/trunk/html/beps/bep_0023.html
r11076 r11078 39 39 <tr class="field"><th class="field-name">Title:</th><td class="field-body">Tracker Returns Packed Peer Lists</td> 40 40 </tr> 41 <tr class="field"><th class="field-name">Version:</th><td class="field-body">1107 5</td>41 <tr class="field"><th class="field-name">Version:</th><td class="field-body">11077</td> 42 42 </tr> 43 <tr class="field"><th class="field-name">Last-Modified:</th><td class="field-body"><a class="reference external" href="http://bittorrent.org/trac/browser/dotorg/trunk/html/beps/bep_0023.rst">2008-05-13 17: 02:55-0700 (Tue, 13 May 2008)</a></td>43 <tr class="field"><th class="field-name">Last-Modified:</th><td class="field-body"><a class="reference external" href="http://bittorrent.org/trac/browser/dotorg/trunk/html/beps/bep_0023.rst">2008-05-13 17:11:02 -0700 (Tue, 13 May 2008)</a></td> 44 44 </tr> 45 45 <tr class="field"><th class="field-name">Author:</th><td class="field-body">David Harrison <dave at bittorrent.com></td> … … 87 87 since it is a port number, it cannot be more than 7 bytes including 88 88 bencoding overhead. Thus,</p> 89 <blockquote> 90 total peer list length in bytes < n * ( 23 + 259 + 7 )</blockquote> 89 <dl class="docutils"> 90 <dt>::</dt> 91 <dd>total peer list length in bytes < n * ( 23 + 259 + 7 )</dd> 92 </dl> 91 93 <p>It is common now to use a packed format where each peer is represented 92 94 using only 6 bytes. The first 4 bytes contain the 32-bit ipv4 address.