[ns] trouble with bind

Stankiewicz Bredkjaer stan.bred at yahoo.com
Wed Mar 5 14:05:25 PST 2008


Hello everybody,

i have some problems with the "bind" function when used to bind variables I've defined.
i.e. I've created a new Agent called HIGH_AVAIL with 2 new integer variables, which I've binded in the constructor like this:

bind("timeOut_", &timeout_);
bind("warnTime_", &warntime_);

after initialization in "ns-default.tcl" and compiling, these variables still get the default values even if I set new different ones in the tcl script.
can someone please help me? I am desperate now, since I've tried everything to fix it, but it still don't work!

Many have had the same problem as I could notice from the archives, but there weren't no solutions for this, can someone please help?

Thanks.

Stan.

       
---------------------------------
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.


More information about the Ns-users mailing list