libspades
Ace of Spades library
GammaPacketServerHello Struct Reference

Sent in response to ClientHello to set the version of the Gamma protocol to use. More...

#include <protocolGamma.h>

Data Fields

uint8_t packetID
 1 (Client<--Server)
 
uint32_t gammaVersion
 The version of the Gamma protocol which will be used by the connection.
 

Detailed Description

Sent in response to ClientHello to set the version of the Gamma protocol to use.

TODO: Rephrase.

Field Documentation

◆ gammaVersion

uint32_t GammaPacketServerHello::gammaVersion

The version of the Gamma protocol which will be used by the connection.

It MUST be a version supported by the client, as specified in ClientHello. In the event that the client and server share no versions, the server MAY do any of these:

  • Fall back to the Ace of Spades protocol version 0.75 or 0.76, but keep the DTLS connection.
  • Disconnect the client. The server MUST NOT specify a Gamma protocol version that the client does not support.

The documentation for this struct was generated from the following file: