Hi micah and all,
did you resolve the problem, I have the same one; it is about the use of 
rtmodel-at in a procedure, it does not work in real time
details below
thanmks for help
Nabila

micah said:
Hello,

The Link Failure code from Marc Greis' Tutorial works fine for me.
However, when I use almost the exact same code from my app, the code
doesn't seem to do anything.  There are no corresponding entries in the
network trace or nam files, despite the fact that the code executes.

I'm calling the code from C++ via:

Tcl &tcl = Tcl::instance();
tcl.evalf( "$ns rtmodel-at %f down $n(%d) $n(%d)", 
  Scheduler::instance().clock() + 0.0001, ip1, ip2 );

I know the code is executing, but nothing seems to happen.

There are a few posts on the ns2 listserv archive (e.g., "rtmodel-at
doesn't work inside a procedure"), but unfortunately these posts don't
have replies.  Also, I'm not really running rtmodel-at from within a
procedure, unless tcl.evalf counts.

A few other helpful notes:  I'm not using "$ns rtproto DV" because I
don't want dynamic routing.  I don't call "$ns rtproto" at all.  Links
are created using "$ns duplex-link".

Any help would be gratefully appreciated!


_________________________________________________________________
Read what Santa`s been up to! For all the latest, visit 
asksantaclaus.spaces.live.com!
http://asksantaclaus.spaces.live.com/

Reply via email to