From cbe00761d758d65a21068ead9ffd52d7300af2f3 Mon Sep 17 00:00:00 2001 From: zzz <zzz@mail.i2p> Date: Mon, 18 Aug 2014 15:15:01 +0000 Subject: [PATCH] clarify stream IDs --- i2p2www/pages/site/docs/spec/streaming.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/i2p2www/pages/site/docs/spec/streaming.html b/i2p2www/pages/site/docs/spec/streaming.html index 090526b31..a10af41e6 100644 --- a/i2p2www/pages/site/docs/spec/streaming.html +++ b/i2p2www/pages/site/docs/spec/streaming.html @@ -1,7 +1,7 @@ {% extends "global/layout.html" %} {% block title %}{% trans %}Streaming Library Specification{% endtrans %}{% endblock %} -{% block lastupdated %}{% trans %}January 2014{% endtrans %}{% endblock %} -{% block accuratefor %}0.9.10{% endblock %} +{% block lastupdated %}{% trans %}August 2014{% endtrans %}{% endblock %} +{% block accuratefor %}0.9.14.1{% endblock %} {% block content %} <p><a href="{{ site_url('docs/api/streaming') }}">{% trans -%} See the Streaming page for an overview of the Streaming Library. @@ -33,12 +33,14 @@ The format of a single packet in the streaming protocol is: <table> <tr><th>{{ _('Field') }}<th>{{ _('Length') }}<th>{{ _('Contents') }} -<tr><td>sendStreamId <td>4 byte <a href="{{ site_url('docs/spec/common-structures') }}#type_Integer">Integer</a><td>Random number selected by the connection recipient +<tr><td>sendStreamId <td>4 byte <a href="{{ site_url('docs/spec/common-structures') }}#type_Integer">Integer</a> +<td>Random number selected by the packet recipient before sending the first SYN reply packet and constant for the life of the connection. -0 in the SYN message sent by the originator, and in subsequent messages, until a SYN reply is received, +0 in the SYN message sent by the connection originator, and in subsequent messages, until a SYN reply is received, containing the peer's stream ID. -<tr><td>receiveStreamId <td>4 byte <a href="{{ site_url('docs/spec/common-structures') }}#type_Integer">Integer</a><td>Random number selected by the connection originator +<tr><td>receiveStreamId <td>4 byte <a href="{{ site_url('docs/spec/common-structures') }}#type_Integer">Integer</a> +<td>Random number selected by the packet originator before sending the first SYN packet and constant for the life of the connection. May be 0 if unknown, for example in a RESET packet. <tr><td>sequenceNum <td>4 byte <a href="{{ site_url('docs/spec/common-structures') }}#type_Integer">Integer</a><td> -- GitLab