multicast simulation on end-to-end behavior
Mon, 13 Jul 1998 14:47:01 -0300
I have created two agents derived from Agent/Message. The transmission agent (whose
destination , dst_, is the multicast group) timestamps each packet generated with
the simulation time ($ns now) and sends it. The reception agent (joined to the
group) compares the current time with the timestamped time each time he receives a
packet. For dynamics links, I have added a sequence number to calculate the number
of packets lost.
I hope this helps you,
Shuqian Yan wrote:
> I am simulating the end-to-end behvior between a source and receiver pair. I
> need to collect the statistics on the number of packets received by the
> particular receiver and the cumulative delay for the packets travel from the
> source to that receiver. Then I'll calculate the average delay from these data.
> I tried several ways of doing it, but doesn't work out.
> Have anyone done this before? Pls enlighten me.