[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] How can I change the pamameters of traffic generator dynamicly?
I dont think this is directly supported. One solution would be to create and
delete traffic-generators with the required parameters at appropriate times in
your simulation. Ofcourse, this is not a good idea if you want to change the
parameters dynamically based on some input such as congestion signals etc.
Hope this helps.
Satish
> Hi dear ns-users,
>
> I am a freshman to use ns. I need your help. Fllowing is the quetion.
>
> I need to change the parameters of traffic generator dynamicly in program.
> For example the rate or burst_time of Poo_Traffic. How can I do it? If the
> parameters of Poo_traffic generator can not be changed dynamicly in program,
> which traffic generator can be done as this? How to use it? Thank you.
>
>
> Yours sincerely,
> Xuelin