fix documentation bug

This commit is contained in:
Arvid Norberg 2011-11-07 07:02:28 +00:00
parent d16395beae
commit 5627fa2e2e
2 changed files with 44 additions and 24 deletions

View File

@ -6960,29 +6960,49 @@ struct incoming_connection_alert: alert
</pre> </pre>
<p><tt class="docutils literal"><span class="pre">socket_type</span></tt> tells you what kind of socket the connection was accepted <p><tt class="docutils literal"><span class="pre">socket_type</span></tt> tells you what kind of socket the connection was accepted
as:</p> as:</p>
<p>+==========+=====================================+ <table border="1" class="docutils">
| value | type | <colgroup>
+==========+=====================================+ <col width="21%" />
| 0 | none (no socket instantiated) | <col width="79%" />
+----------+-------------------------------------+ </colgroup>
| 1 | TCP | <thead valign="bottom">
+----------+-------------------------------------+ <tr><th class="head">value</th>
| 2 | Socks5 | <th class="head">type</th>
+----------+-------------------------------------+ </tr>
| 3 | HTTP | </thead>
+----------+-------------------------------------+ <tbody valign="top">
| 4 | uTP | <tr><td>0</td>
+----------+-------------------------------------+ <td>none (no socket instantiated)</td>
| 5 | i2p | </tr>
+----------+-------------------------------------+ <tr><td>1</td>
| 6 | SSL/TCP | <td>TCP</td>
+----------+-------------------------------------+ </tr>
| 7 | SSL/Socks5 | <tr><td>2</td>
+----------+-------------------------------------+ <td>Socks5</td>
| 8 | HTTPS (SSL/HTTP) | </tr>
+----------+-------------------------------------+ <tr><td>3</td>
| 9 | SSL/uTP | <td>HTTP</td>
+----------+-------------------------------------+</p> </tr>
<tr><td>4</td>
<td>uTP</td>
</tr>
<tr><td>5</td>
<td>i2p</td>
</tr>
<tr><td>6</td>
<td>SSL/TCP</td>
</tr>
<tr><td>7</td>
<td>SSL/Socks5</td>
</tr>
<tr><td>8</td>
<td>HTTPS (SSL/HTTP)</td>
</tr>
<tr><td>9</td>
<td>SSL/uTP</td>
</tr>
</tbody>
</table>
<p><tt class="docutils literal"><span class="pre">ip</span></tt> is the IP address and port the connection came from.</p> <p><tt class="docutils literal"><span class="pre">ip</span></tt> is the IP address and port the connection came from.</p>
</div> </div>
</div> </div>

View File

@ -7350,7 +7350,7 @@ listen socket for SSL torrents.
``socket_type`` tells you what kind of socket the connection was accepted ``socket_type`` tells you what kind of socket the connection was accepted
as: as:
+==========+=====================================+ +----------+-------------------------------------+
| value | type | | value | type |
+==========+=====================================+ +==========+=====================================+
| 0 | none (no socket instantiated) | | 0 | none (no socket instantiated) |