Re: [ns] Error while running the tcl script while implementing a new protocol in ns2

2010-04-13 Thread Teerawat Issariyakul
Hi Learner, The error is due to the following line eval $node addr $args Class Node does not have instproc "addr". Therefore the Tcl spit out the error. To fix it, define instproc addr for the class of $node If you would like to learn how to read OTcl error message, please read http://www.

[ns] Error while running the tcl script while implementing a new protocol in ns2

2010-04-12 Thread The Learner
When I run my tcl script, I get the following error- (_o14 cmd line 1) invoked from within "_o14 cmd addr" invoked from within "catch "$self cmd $args" ret" invoked from within "if [catch "$self cmd $args" ret] { set cls [$self info class] global errorInfo set savedInfo $errorInfo er