← Packet index

Packet 143

NetworkSettingsPacket

Sends tunable options from host to client (compression, throttling and SCTP recovery)

Packet datagramWire order
HeaderID 143varuint
0Compression Thresholduint16 · 2 bytes
1CompressionAlgorithmuint16 · 2 bytes
2Client Throttle Enabledboolean · 1 byte
3Client Throttle Thresholduint8 · 1 byte
4Client Throttle Scalarfloat · 4 bytes
5SCTP Recovery Profileuint8 · 1 byte

Serialized fields

6 top-level fields
  1. 0Compression ThresholdDetermines the smallest size of raw network payload to compress. NOTE: 0 is disable compression, 1 is compress everything 1 byte or larger (so everything)uint16
  2. 1CompressionAlgorithmEnum-as-ValuePacketCompressionAlgorithmas uint16
    1. 0ZLib
    2. 1Snappy
    3. 65535None
  3. 2Client Throttle Enabledboolean
  4. 3Client Throttle Thresholduint8
  5. 4Client Throttle Scalarfloat
  6. 5SCTP Recovery ProfileEnum-as-ValueSctpRecoveryProfileas uint8
    1. 0Default
    2. 2Balanced
    3. 1Fast

Changelog

Stable releases

Changes between stable protocol releases.

Released
Protocol
2225

Packet

1 entry

Changed 1

NetworkSettingsPacket1 change · ID 143