Hello Ubaid,
Hello everyone,
I want to count the number of packet that is received (forwarded) on the 
intermediate node.
Node0_____________Node3___________________Node4
                  /
                 /
                /
               /
Node2_________/
I want to count on node3, when I sent some packet from node0 and node1 to node 
4.

I try modify udp.cc with recv().
But I don't know, what function to get node ID of the packet pkt, that function 
recv() received.
I try used pkt->txinfo_.getNode().nodeid(), but occur a error. It note that, 
this is not mobile structure.
Please help me, I use a normal node.
Thank you very much.
===========================
Nguyen Tan Cam

HCMUS
===========================



      

Reply via email to