Example of a tagged packet...
edition = "2023";
package msg_packer;
message Msg {
string tag = 1;
int32 length = 2;
string content = 3;
}
The content is the actual packet, whereas tag helps track the order of the packet if given in a non-linear order.
This is what we do at Ne.app for our new backend system, the issue I noticed is that we may not have ordered packets coming, and this could pose a lot of problems.
Thus this approach of packets.