[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Traffic Generation for Application



I am trying to create a traffic generator for my application, and am having 
problems because the only traffic generators available are for agents.

Within TCL, to send a packet using my application I am calling :

$ns at 1.0 "$my_application send_packet args"

I would like to generate traffic in this way (i.e. start a traffic generator 
which would call "$my_application send_packet" repeatedly throughout the 
simulation.)

Is there an easy way to do this using TrafficGenerator class or will I have 
to use the timer_handler class to schedule events to my application ?

Thanks,

Mark
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com