-
Notifications
You must be signed in to change notification settings - Fork 19
Technical: Packets
Tom Anderson edited this page Sep 3, 2021
·
1 revision
Avara communicates via "UDP Packets" that may contain zero (ACK) or more "Command Packets". It can be confusing but the software uses the word 'packet' interchangeably to describe both concepts. But think of a UDP Packet as the envelope that holds all of the commands. And the Command Packets are the messages back and forth between all of the clients that communicate everything about what's happening in the game.
Here's a simple illustration of a UDP Packet. Though it's technically possible to have multiple Command Packets within each UDP Packet, most of the time there will only be 1, and occasionally 2 Command Packets sent at a time.
UDP Packet Structure |
---|
UDP Header |
Command Packet 1 |
Command Packet 2 |
... |
Command Packet N |