Looking at the Node class declaration (MobileNode class inherits from Node) you
can find the public method:
inline int address() { return address_;}
So I think you can use the following:
printf("TRG %.9f %d(%d,%d)@%d(%d,%d) d=%f xo=%f:",
Scheduler::instance().
clock(), t->getNode()->address(),
Dear all,
I have followed the work in:
http://www.linuxquestions.org/questions/programming-9/ns2-how-receive-cbr-packets-at-my-own-agent-and-duplicate-them-for-new-destination-897086/
in order to implement an intermediate node that performs the following:
- When receiving a packet duplicates
Hi All,
I am working on ns-2.34. I installed leach on it.
When trying to run -
# cd /root/ns/ns-allinone-2.34/ns-2.34/tcl/ex
# ns wireless-demo-csci694.tcl
I am getting the following error - Can anyone please help for the error below -
===
[ro