Skip to content

Connection Handshake

Joshua Scott edited this page Sep 21, 2015 · 1 revision

Details

The connection handshake is initiated by the client when a Session Request packet is received on the server. The server replies with a Session Response containing the connection's information, the connection is then considered safe and managed by the server's ConnectionManager.

Any packets sent by the client to the server before the handshake that aren't Session Request are ignored.

Encryption, Compression and CRC

As far as we've seen, all packets after the connection has been established contain the compression flag and calculated Seeded-CRC32 checksum. You can find more information about encryption, compression and the CRC32 footer on their respective pages.

Client Session Request

Details about the packet can be found here.

Server Session Response

Details about the packet can be found here.

Clone this wiki locally