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

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



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.