Changeset 4ffa2450 for apps/sam/doc


Ignore:
Timestamp:
Apr 26, 2009 10:14:23 AM (12 years ago)
Author:
mkvore-commit <mkvore-commit@…>
Branches:
master
Children:
7b15cc8
Parents:
0c738e2
Message:
  • SAMv3 : doc/sam.3.0-protocol.txt updated
  • SAMv3 : SAMv3StreamSession.java: thread naming for debugging purpose
File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/sam/doc/sam.3.0-protocol.txt

    r0c738e2 r4ffa2450  
    136136Hereafter, CONNECT commands are used by the SAM client for such a
    137137request. FORWARD / ACCEPT commands are used by the SAM client when
    138 it wants to listen to requests coming from other I2P destinations.
     138he wants to listen to requests coming from other I2P destinations.
    139139
    140140
     
    232232-----------------------------
    233233
    234 A client waits for an incoming connection request by :
    235  * opening a new socket with the SAM bridge
    236  * passing the same HELLO handshake as above
    237  * sending the forward command : 
     234A client can use a regular socket server and wait for connection requests
     235coming from I2P. For that, the client has to :
     236 * open a new socket with the SAM bridge
     237 * pass the same HELLO handshake as above
     238 * send the forward command :
    238239
    239240-> STREAM FORWARD
     
    243244         [SILENCE={true,false}]
    244245
    245 This makes the session ${nickname} listen forever for incoming
     246This makes the session ${nickname} listen for incoming
    246247connection requests from the I2P network.
    247248
     
    258259    INVALID_ID
    259260
    260 The socket is closed immediately after the message by the SAM
    261 bridge. If the result is OK, the SAM bridge starts waiting for
    262 incoming connection requests from other I2P peers.
    263 
    264261 * {$host} is the hostname or IP address of the socket server to which
    265262SAM will forward connection requests. If not given, SAM takes the IP
     
    267264
    268265 * {$port} is the port number of the socket server to which SAM will
    269 forward connection requests. Is is mandatory.
     266forward connection requests. It is mandatory.
    270267
    271268When a connexion request arrives from I2P, the SAM bridge requests a
     
    282279the connected I2P destination peer, until one of the sides closes the
    283280socket.
     281
     282
     283
     284The I2P router will stop listening to incoming connection requests as
     285soon as the "forwarding" socket is closed.
    284286
    285287
Note: See TracChangeset for help on using the changeset viewer.