mirror of
https://github.com/ShadowKatStudios/OC-Minitel.git
synced 2024-11-23 02:28:05 +11:00
Specify packet ID cache behavior in the standard. Closes #23
This commit is contained in:
parent
81a35c5e8a
commit
e579f1f567
@ -15,6 +15,10 @@ Upon a node receiving a message addressed to itself, it should:
|
||||
5. Optional: If the packet is addressed to a different node, repeat the packet, preferably respecting the address cache
|
||||
|
||||
If the packet is, for some reason invalid, simply drop the packet.
|
||||
|
||||
### Packet ID caching
|
||||
In order to prevent unnecessary network traffic, each node must keep a packet ID cache. This is used to decide whether to ignore received packets. A node should drop items from this cache, in order to not waste memory, though the minimum recommended time to keep items is 30 seconds.
|
||||
|
||||
### Optional: Meshing
|
||||
If a message is not addressed to a node, and the node has not seen the packet ID before, the node should repeat it. Whether via the address in the cache or by broadcast, it should be passed on, and the hardware address added to the cache as the sender.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user