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!

Micah

Reply via email to