SimTX API v24/Packets/ControlAck
Appearance
| Packet ID | 8(0x08)
|
|---|---|
| Direction | Server → client |
| Session | Control |
| Body size | 0 bytes |
| Permission | None |
ControlAck confirms that a control session is ready. The server sends it once, immediately after an accepted HandshakeResult on a connection with role 4. The packet has no body.
Layout[edit | edit source]
| Field | Type | Description |
|---|---|---|
packetId |
u8 |
Always 8.
|
Usage[edit | edit source]
Requests may be sent as soon as the handshake is accepted, but waiting for ControlAck before showing the session as connected is a simple way to be sure the server has set it up. A Banner may follow immediately.