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

Re: [ns] Can I avoid c++ stuff?





On Sat, 20 Oct 2001, Dan Wang wrote:

> 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?
> 

The answer to your question is YES.
But you may experience very slow simulation if you put
everything into tcl.

-Ya

> Thank you in advance.
> 
> Dan.
> 
> __________________________________________________
> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.com
>