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

Re: [ns] Regarding TraceFile



The Traffic/Trace class uses the method attach-tracefile to associate a
Traffic/Trace object with a particular Tracefile object. I think TrafficTrace is
not a good approach to generate a traffic for TCP agent. You may look at the
TrafficTrace example which is ns-2/tcl/ex/tg.tcl .
- Hyunah


> I want to be able to generate my own traffic for a TCP agent. Is there any
> way this can be done in NS? It does seem like there are four types of traffic
> generators described in teh manual (page 235). I am not sure I understand
> about the TrafficTrace and the associated trace file if that is how I can
> contral the traffic in my network. Also how this trace file can be generated
> ??
> If someone has a script that uses such a controlled traffic flow pls let me
> know.
>
> thanks
> -chirdeep