I think you can use the timer class of NS2 in c++. You can find how to use timer in most souce code, such as tcp.cc, tfrc.cc..... ----- Original Message ----- From: "Heo Heo" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Monday, May 22, 2006 12:47 PM Subject: [ns] How to specify "wait" in ns2
> > I am working on improving AODV, and I need to specify "wait" in ns2, > something like: > > - When the routing packets (RREQ) arrive, just store it into a buffer > and do not send out anything. > > - Wait for a period of X miliseconds. After that, look into the > buffer and select the routing packet that satisfy some conditions and send > it out. > > I don't know how to do that "wait for X miliseconds". > > Thanks a lot for any help. > > > > --------------------------------- > Feel free to call! Free PC-to-PC calls. Low rates on PC-to-Phone. Get Yahoo! > Messenger with Voice
