Open
Description
The current binary protocol between RTI and federates is somewhat brittle. Different packages are identified by just a magic byte. Another bug #409 lead to the RTI decoding arbitrary messages from the incoming socket. It would not have been a problem if the binary protocol was a little more robust. E.g we could do:
| magic start bytes | msg_type | length | header checksum | data | magic stop bytes |
This is just a quick idea, we can argue what would be the best protocol. But I do not think we should worry a lot about adding a couple of bytes to each package if it increases the robustness.
Metadata
Assignees
Labels
No labels