Tags for Packets

Author: Amlal El Mahrouss (amlal@ne-app.eu)

Published September 19, 2026

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.