[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] How to use "upcall" functions recv(int bytes) and resume()



Chapter VII in marc greis's tutorial may be a good example, for more
information, you may have to look into the ns source code, for example the
MAC layer protocols...

Hope it helps,
-chen xuan


 On Mon, 11 Jun 2001, Huan Pham wrote:

> Hi NS users,
> 
> Chapter 32.2.4 , NS manual, mentions two upcall functions ("recv" and
> "resume"), which is used to notify applications  of some events, such as
> when the agents have sent successfully the data.
> 
> Could anyone give me an example how to use this fucntion. Thank you very
> much.
> 

-- 
Xuan Chen
USC/ISI