Hi all
I added a new agent in ns and modified the ns-agent.tcl file
with the following code:
Agent/IMultiHop instproc init args {
$self next $args
}
Agent/IMultiHop set sport_ 0
Agent/IMultiHop set dport_ 0
when I try to run my Tcl file with ns I get the following
error:
[code omitted because of length]
: invalid command name "Agent/IMultiHop"
while executing
"Agent/IMultiHop instproc init args {
$self next $args
}"
I searched FAQ and the internet but I didn't find an answer
to this error. Can anyone tell me what is wrong?
Regards
Islam Hegazy
|