Hi,
I'm using a Realtime simulator implementation of NS3 (with some modifications to suit my experiment), and I want to periodically check the number of packet travelling within the network (aka. I want to know the number of packets in side a network at the instant that the check is performed).
So I'm trying to figure out the simplest way to obtain the number of packets inside the network at a given moment in time. Any help will be greatly appreciated.
In fact, for the current objective, I only need to know whether there's a packet in the network or not at the time of each check, but I think getting a total number of packets might be useful for me in the future.
Thank you very much and sorry if my English phrasing is confusing.