blueprint-freespeech / ricochet-refresh

Anonymous peer-to-peer instant messaging
https://www.ricochetrefresh.net
Other
162 stars 27 forks source link

libtego: fix version handshake message #39

Closed m-simonelli closed 3 years ago

m-simonelli commented 3 years ago

From doc/protocol.md:

The client begins the connection by sending the following raw sequence of bytes:

0x49
0x4D
nVersions          // One byte, number of supported protocol versions, must be at least 1
nVersions times:
    version        // One byte, protocol version number

36 can be closed after this