Hi,
I am new in NS-2. I would like to ask what is the
difference between
i) set udp0 [new
Agent/UDP]
$ns attach-agent $n0 $udp0 set cbr0 [new Application/Traffic/CBR] $cbr0 attach-agent $udp0
ii) set cbr0 [new Agent/CBR]
$ns attach-agent $n0
$cbr0
Thank you
Terdsak
|