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

[ns] Can I avoid c++ stuff?



Hello:

I'm now trying the routing protocols in ns. I wonder
if I want to write a simple protocol, can I avoid
writing c++ code? I mean can I just write a simple
class (as .tcl file) that derived from Agent/rtProto 
and implement the procs such as init-all,
compute-routes, etc. Then I use this protocol in the
main
script. Is that ok?

Thank you in advance.

Dan.

__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com