Re: [ns] How to determine the current simulation time from C++ code?

2006-10-11 Thread Gianko
Piyush Agrawal wrote: Hi, How can I print the current time in the simulation from the C++ code? double curr_time_ = Schedule::instance().clock G.

Re: [ns] how to configure a wireless node to route pakets?

2006-10-05 Thread Gianko
Shahatha wrote: hello, Iam neu in ns2. i try to write a topologe with three wirelss node how can i configure a node to be abvle to forward pakets to other nodes? If you mean packet forwarding as selfish forwarding with DSR routing algorithm you can change packet flow is in

[ns] CMUTrace and classifier

2006-09-26 Thread Gianko
Hi all, I'm looking for a right place we're implement a function that drop packet for DSR purpouse or disable packet forwarding function in a MANET. I'd wish to know if the SRNodeNew's classifier is a CMUTrace class, and if this is a right place to implement misbehaviour. Regards, G.