hi, I would like to know how to monitor the congestion while packets move from the RNC in the wireless network to the wired network in UMTS architecture....
this is a part of my code about congestion: *********************************************************** set cwndf [open cwnd.tr w] proc record {} { global ns cwndf set time 0.1 set now [$ns now] set cwnd "$now" set cwnd "$cwnd [$tcp0 set cwnd_]" puts $cwndf "$cwnd" $ns at [expr $now+$time] "record" } ************************************************************* this is the error when i run my script: ns: record: can't read "tcp0": no such variable while executing "$tcp0 set cwnd_" (procedure "record" line 6) invoked from within "record" ********************************************************** !!! thank you yours,