Dear all

I am new to NS_2. I run the simple-wireless.tcl of Marc Greis's tutorial in
ns-2.27. Everything works fine. But when I change the TCP agent to the UDP
agent
and change traffic model from FTP to CBR, ns-2 reports errors like following:

 num_nodes is set 2
INITIALIZE THE LIST xListHead
Starting Simulation...
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5,  distCST_ = 550.0
SORTING LISTS ...DONE!
ns: _o50 start:
    (_o50 cmd line 1)
    invoked from within
"_o50 cmd start"
    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
error "error when calling class $cls: $args" $..."
    (procedure "_o50" line 2)
    (SplitObject unknown line 2)
    invoked from within
"_o50 start"

Anyone has any idea why is so? Thanks very much!

Kai

Reply via email to