forked from I2P_Developers/i2p.www
clarify stream IDs
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
{% extends "global/layout.html" %}
|
{% extends "global/layout.html" %}
|
||||||
{% block title %}{% trans %}Streaming Library Specification{% endtrans %}{% endblock %}
|
{% block title %}{% trans %}Streaming Library Specification{% endtrans %}{% endblock %}
|
||||||
{% block lastupdated %}{% trans %}January 2014{% endtrans %}{% endblock %}
|
{% block lastupdated %}{% trans %}August 2014{% endtrans %}{% endblock %}
|
||||||
{% block accuratefor %}0.9.10{% endblock %}
|
{% block accuratefor %}0.9.14.1{% endblock %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<p><a href="{{ site_url('docs/api/streaming') }}">{% trans -%}
|
<p><a href="{{ site_url('docs/api/streaming') }}">{% trans -%}
|
||||||
See the Streaming page for an overview of the Streaming Library.
|
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>
|
<table>
|
||||||
<tr><th>{{ _('Field') }}<th>{{ _('Length') }}<th>{{ _('Contents') }}
|
<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.
|
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.
|
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.
|
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>
|
<tr><td>sequenceNum <td>4 byte <a href="{{ site_url('docs/spec/common-structures') }}#type_Integer">Integer</a><td>
|
||||||
|
Reference in New Issue
Block a user