Hi guys, Say i have a PacketQueue object contains several packets which sent at the same time, and may have different transmission time with each other. Now i want to define a timer, to receive these packets. (i.e. to simulate transmission delay)
More specifically, say, there are packets A, B, C, D in the queue, they have transmission time as follows: 1sec, 1sec, 2sec and 3sec. So i want the timer expires at 1 sec later twice~ I've read NS2 manual, however time-handler class can only schedule one event each time, if there still is an event scheduled, it will cancel it, which is not what i want. Can anybody help me figure this out? -- Best regards, Li Ye