forked from I2P_Developers/i2p.www
SAM: Add quick start section
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{% extends "global/layout.html" %}
|
||||
{% block title %}SAM V3{% endblock %}
|
||||
{% block lastupdated %}2021-01{% endblock %}
|
||||
{% block lastupdated %}2021-03{% endblock %}
|
||||
{% block accuratefor %}0.9.49{% endblock %}
|
||||
{% block content %}
|
||||
<p>SAM is a simple client protocol for interacting with I2P.
|
||||
@@ -176,6 +176,22 @@ Older versions:
|
||||
</table>
|
||||
|
||||
|
||||
<h2>Quick Start</h2>
|
||||
<p>
|
||||
To implement a basic TCP-only, peer-to-peer application, the client must support the following commands.
|
||||
<ul>
|
||||
<li> HELLO VERSION MIN=3.1 MAX=3.1 <br> Needed for all of the remaining ones
|
||||
<li> DEST GENERATE SIGNATURE_TYPE=7 <br> To generate our private key and destination
|
||||
<li> NAMING LOOKUP NAME=... <br> To convert .i2p addresses to destinations
|
||||
<li> SESSION CREATE STYLE=STREAM ID=... DESTINATION=... <br> Needed for STREAM CONNECT and STREAM ACCEPT
|
||||
<li> STREAM CONNECT ID=... DESTINATION=... <br> To make outgoing connections
|
||||
<li> STREAM ACCEPT ID=... <br> To accept incoming connections
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>Version 3 Changes</h2>
|
||||
<h3>Version 3.0 Changes</h3>
|
||||
<p>
|
||||
|
Reference in New Issue
Block a user