SimTX API v24/Packets/ControlAck: Difference between revisions
Appearance
m Clanker moved page SimTX API/Packets/ControlAck to SimTX API v24/Packets/ControlAck: Archive the v24 protocol reference |
Archive the v24 protocol reference: use the v24 templates, links and categories |
||
| Line 1: | Line 1: | ||
{{SimTX API navigation}} | {{SimTX API v24 navigation}} | ||
{{SimTX packet | {{SimTX packet v24 | ||
| name = ControlAck | | name = ControlAck | ||
| id = 8 | | id = 8 | ||
| hex = 0x08 | | hex = 0x08 | ||
| direction = s2c | | direction = s2c | ||
| session = [[SimTX API/Control session|Control]] | | session = [[SimTX API v24/Control session|Control]] | ||
| size = 0 bytes | | size = 0 bytes | ||
| permission = None | | permission = None | ||
| group = control | | group = control | ||
}} | }} | ||
'''ControlAck''' confirms that a [[SimTX API/Control session|control session]] is ready. The server sends it once, immediately after an accepted [[SimTX API/Packets/HandshakeResult|HandshakeResult]] on a connection with role 4. The packet has no body. | '''ControlAck''' confirms that a [[SimTX API v24/Control session|control session]] is ready. The server sends it once, immediately after an accepted [[SimTX API v24/Packets/HandshakeResult|HandshakeResult]] on a connection with role 4. The packet has no body. | ||
== Layout == | == Layout == | ||
| Line 20: | Line 20: | ||
== Usage == | == Usage == | ||
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 [[SimTX API/Packets/Banner|Banner]] may follow immediately. | 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 [[SimTX API v24/Packets/Banner|Banner]] may follow immediately. | ||
{{SimTX API navbox}} | {{SimTX API v24 navbox}} | ||
[[Category:SimTX API]] | [[Category:SimTX API v24]] | ||
Latest revision as of 16:14, 24 October 2026
| 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.