Hello everybody
The timer function in NS in Constant Bit Rate(CBR) traffic generation works like this. After every interval it creates a new packet and sends the created packet. For me what i want is, if i have created a packet with sequence number 1, i send that packet and wait for 0.2 seconds to send that same packet again. In the mean time there are other packets created. For e.g a packet with sequence number 2 is created and sent. It has to wait for another 0.3 seconds to be sent again. The question is, is there a way to relate packet sequence number with the time, so that at an instance of the time i can get which packet is to be resent. Is there any examples in NS on that. Thanks Sandoche