Hello everyone,
When I try the ARQ example in T. Issariyakul and E. Hossain's book
"Introduction to Network Simulator
NS2" , I met an problem.
I add all the code, run make, do the simulation: ns arq.tcl
but I got error messages from the system:
invalid command name "ARQTx"
while executing
"ARQTx create _o39 "
invoked from within
"catch "$className create $o $args" msg"
invoked from within
"if [catch "$className create $o $args" msg] {
if [string match "__FAILED_SHADOW_OBJECT_" $msg] {
delete $o
return ""
}
global errorInfo
error "class $..."
(procedure "new" line 3)
invoked from within
"new ARQTx"
(procedure "_o17" line 4)
(SimpleLink link-arq line 4)
invoked from within
"$link link-arq $limit"
(procedure "_o3" line 3)
(Simulator link-arq line 3)
invoked from within
"$ns link-arq 3 $n0 $n1"
(file "arq.tcl" line 42)
I think maybe the definiation of ARQTx is wrong. Dose anybody know what's the
problem?
Thank you very much.
Best Regards,
Tong Mao
_________________________________________________________________
More than messages–check out the rest of the Windows Live™.
http://www.microsoft.com/windows/windowslive/