[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] strange error, premature simulation stop



Hi,

I encountered a fairly strange error (in my opinion).
Included is the full script that I run and when it is run as is, it runs
properly for about 5.09 seconds (judging by nam).

If I comment out line 54,
$ns_ at 1.0 "$cbr1 start"
the simulation stops at 4.5 seconds without other changes.

When I use my own rewrite of telnet application, which basically only has
some print outs and different values for the packet delay, the simulation
stops at .76 seconds without the line 54 and runs properly for 5 seconds
with that same line.

I was hoping someone could explain why does the simulation stop (in nam)
without any errors but before I write ns "finish"

Thank you very much
Alex.

full-tcp.tcl