Hi there,
first of all, it's a great tool you have created here. I'm still learning and got the feeling I've only seen the tip of the iceberg :)
Now to my question:
I wondered what the preferred way is to send data between applications on different node.
For example, I do have a UDP Client, and a UDP Server similar to the request-response example.
Now, my question might be more network related than ns3 related:
Anyway, let's say I want to send application related data (e.g., as an object instance or a struct) via UDP. What is the best practice to do so?
What I have seen sofar is, that I can either
1) add it as a byte buffer "into" the packet payload,
2) create custom tags to the packet
3) or add headers
I think 3 is out of the game, but is there a best practice or is that totally up to me?
Cheers,
Philipp