Create a new agent for NS


In the new header file 'X.h' I copied contents from existing file ping.h and saved it

Comments

Unknown said…
ns: source Routing.tcl: can't read "n()": no such element in array
while executing
"$ns at 4 "$n() label CH_1""
(file "Routing.tcl" line 1)
invoked from within
"source.orig Routing.tcl"
("uplevel" body line 1)
invoked from within
"uplevel source.orig [list $fileName]"
invoked from within
"if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig [list $fileName]
..."
(procedure "source" line 8)
invoked from within
"source Routing.tcl"

can u plz rectify this problem i had declared nodes as dynamicaly that's why i didn't declare nodes particularly for ch-1, so can u plz rectify this problem by today eveng plz.

Popular posts from this blog

How to install NS2 2.34 on ubuntu 10.04