In ns-2.31/aov/aodv.cc, I believe you will need to make changes to recvRequest(Packet* p) method. Good luck. Maybe you'll need to make a queue and add the packet to the queue and wait until that queue is empty before responding or use some sort of callback mechanism.
On Mon, Jul 7, 2008 at 10:44 AM, Amita Singh <[EMAIL PROTECTED]> wrote: > > Hi all, > I want to introduce delay in c++ at receivers end so that instead of > replying the very first RREQ packet, receiver node waits for some time and > then checks for the best route received through RREQ packets and replies for > the best route. Can anyone tell me as how it is to be done using AODV > regards > -- Muhammad Saqib Ilyas PhD Student, Computer Science and Engineering Lahore University of Management Sciences