Skip to content

The package

MarcusW edited this page Feb 27, 2016 · 1 revision

To make the communication between client and server more stable we're sending data split up into packages. Each package begins with the amount of following bytes encoded as 16 bit integer.

[2 BYTES] Package Length            // The length of the following package (16 bit)
[BYTES] Package (max. 2^14 bytes)   // The content of the package