Ignore:
Timestamp:
Apr 8, 2004 6:23:48 PM (17 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
44bbcd7
Parents:
e8a2130
git-author:
mihi <mihi> (04/08/04 18:23:48)
git-committer:
zzz <zzz@…> (04/08/04 18:23:48)
Message:

update protocol (formal things)

[mihi]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/ministreaming/doc/protocol.txt

    re8a2130 re56dcba  
    1 ministreaming protocol:
    2 *******************
     1ministreaming protocol
     2**********************
    33
    44Each message looks like the following
     
    1616All connections are created as PROP_RELIABILITY_GUARANTEED.
    1717
    18 "actions" are the things a proper tunnel implementation SHOULD do
    19 when it receives such a message.
     18"actions" are the things a proper ministreaming implementation SHOULD
     19do when it receives such a message.
    2020
     21A "ministreaming connection" is a connection where the user of the
     22library can send data into or receive from.
    2123
    2224Client->Server:
     
    2628  id:      the server id
    2729  payload: the data to send
    28   actions: send the data to the TCP connection
     30  actions: send the data to the ministreaming connection
    2931
    30320xA1 SYN
    3133  id:      the client id
    3234  payload: the public key dynamically created by the client
    33   actions: create a server ID and create a TCP connection. When successful,
    34            send an ACK back, otherwise a close.
     35  actions: create a server ID and create a ministreaming connection. When
     36           successful, send an ACK back, otherwise a close.
    3537
    36380xA2 Close
     
    4547  id:      the client id
    4648  payload: the data to send
    47   actions: send the data to the TCP connection
     49  actions: send the data to the ministreaming connection
    4850
    49510x51 ACK
Note: See TracChangeset for help on using the changeset viewer.