define Data message type

This commit is contained in:
lilly 2026-05-20 12:46:04 +02:00
commit 86544b6ad3
Signed by: lilly
SSH key fingerprint: SHA256:y9T5GFw2A20WVklhetIxG1+kcg/Ce0shnQmbu1LQ37g

View file

@ -89,12 +89,21 @@ It has no payload.
A message which MAY be originated by a node to check for reachability of other nodes in the network.
Nodes which receive this message SHOULD respond with a *Pong* message.
It has no payload.
#### Message Type *Pong*
- Message Type `0x04`
A message which MUST ONLY be originated by a node in response to a previous *Ping* message.
It has no payload.
#### Message Type *Data*
- Message Type `0x10`
This message is used for actual data transfer between nodes.
It's payload makes up the remainder of the UDP datagram and the content is up to the upper protocol to decide.
### Chat