Change formatting for header

This commit is contained in:
Luke Harding 2024-05-01 01:42:33 -04:00
parent a4ede3e887
commit 5c074f0c82

View File

@ -20,11 +20,12 @@ The process operates in 3 stages:
MTIWP is a TCP-based binary application layer protocol used to communicate between the workers and coordination server. MTIWP is a TCP-based binary application layer protocol used to communicate between the workers and coordination server.
The packet is made up of the following fields: The packet is made up of the following fields:
- Version (2 Bytes) - Header (19 Bytes)
- Worker ID (6 Bytes) - Version (2 Bytes)
- Timestamp (8 Bytes) - Worker ID (6 Bytes)
- Method (1 Byte) - Timestamp (8 Bytes)
- Payload Length (2 Bytes) - Method (1 Byte)
- Payload Length (2 Bytes)
- Payload (0-65535 Bytes) - Payload (0-65535 Bytes)
Valid Methods: Valid Methods: