[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] Introducing wait in agent
I am not sure if I got u correctly. But probably you can do something in ur
protocol to delay sending a packet, for sending a pkt u can schedule a "send"
to occur after a fixed amt of time, e.g., you can have a look at the dsdv code
under /dsdv, u will find a pkt send is scheduled to occur after a random amt of
time, anyway u can have it fixed.
Gautam
>
> I have defined a new agent for wireless scenario, and I want to have my
> agent wait for a fixed amount of time before it sends out its packet. How
> do I do that? I don't think that the timeout method could be used here.
>
> Sagnik
>
>
--
-------------------------------------------
Gautam Chakrabarti
MS Student
Computer Sc. & Engineering Dept.
Michigan State University
Email: [email protected]
Home Page: http://www.cse.msu.edu/~chakra10
--------------------------------------------