Dear NS-users

I am modifying an extension of ns (RSVP-TE\ns), and at some point I need to
have an access to the current date (given in tcl by $ns now). I don't know
how to do this. I suppose I could use something like:

Tcl& tcl = Tcl::instance();
tcl.evalf("%d now", my_simulator_instance);

but I don't know how to refer to the simulator instance.

I would be very grateful if you could help me on this topic.

Mit freundlichen Grüßen, with kind regards, cordialement,

----------------------------------------------------------
Gilles BERTRAND
Telecom INT (GET) - University of Stuttgart
----------------------------------------------------------

Reply via email to