xpra icon
Bug tracker and wiki

Changes between Version 1 and Version 2 of NetworkProtocol


Ignore:
Timestamp:
03/24/14 05:26:25 (6 years ago)
Author:
Antoine Martin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NetworkProtocol

    v1 v2  
    77
    88* General packets that flow in both direction:
     9||hello||a dictionary containing connection options||authentication (if required), setup of keyboard, configuration options, etc||either accept the connection and send a hello back as acknowledgement, send a challenge request or disconnect||
    910||= Packet Type =||= Arguments =||= Purpose =||= Actions Required =||
    10 ||ping||time to be echoed back|| monitor connection state, collect latency statistics||The receiver '''must''' send a {{{ping-echo}}} back||
     11||ping||time to be echoed back||monitor connection state, collect latency statistics||The receiver '''must''' send a {{{ping-echo}}} back||
    1112||ping-echo||echoed time, load average, measured latency||response to ping, collect latency statistics||
    1213||sound-data||sound buffers and associated metadata||forward sound data||the receiver should queue the sound buffer, it may drop them if desired - if so, it should tell the other end to stop sending||
    13 
     14||connection-lost||none||sent by the network layer when the network connection has dropped||free any resources||
     15||gibberish||none||sent by the network layer when the network received unparseable data, data decompression failed or decryption failed||disconnect the connection and free any resources||
    1416}}}