added ipv4 and ipv6 to the extension handshake protocol

This commit is contained in:
Arvid Norberg 2007-10-01 02:47:57 +00:00
parent 7720b48263
commit ede5a5b908
2 changed files with 18 additions and 0 deletions

View File

@ -144,6 +144,16 @@ receiver's external ip address (no port is included).
This may be either an IPv4 (4 bytes) or an IPv6
(16 bytes) address.</td>
</tr>
<tr><td>ipv6</td>
<td>If this peer has an IPv6 interface, this is the compact
representation of that address (16 bytes). The client may
prefer to connect back via the IPv6 address.</td>
</tr>
<tr><td>ipv4</td>
<td>If this peer has an IPv4 interface, this is the compact
representation of that address (4 bytes). The client may
prefer to connect back via this interface.</td>
</tr>
<tr><td>reqq</td>
<td>An integer, the number of outstanding request messages
this client supports without dropping any. The default in

View File

@ -93,6 +93,14 @@ Here are some other items that an implementation may choose to support:
| | This may be either an IPv4 (4 bytes) or an IPv6 |
| | (16 bytes) address. |
+--------+-----------------------------------------------------------+
| ipv6 | If this peer has an IPv6 interface, this is the compact |
| | representation of that address (16 bytes). The client may |
| | prefer to connect back via the IPv6 address. |
+--------+-----------------------------------------------------------+
| ipv4 | If this peer has an IPv4 interface, this is the compact |
| | representation of that address (4 bytes). The client may |
| | prefer to connect back via this interface. |
+--------+-----------------------------------------------------------+
| reqq | An integer, the number of outstanding request messages |
| | this client supports without dropping any. The default in |
| | in libtorrent is 250. |