[ns] Help on ns2 internal organization

Teerawat Issariyakul teerawat at ece.ubc.ca
Sun May 10 19:51:37 PDT 2009


Hi Qweq,

I agree with you when you change C++ code you WILL NEED to recompile it.
But, Udit, if you want to change topology, you will not need to modify
C++ code. You can do it in Tcl. Defining your own topology in Tcl does
not require recompilation. In fact, there is no Tcl compiler. Tcl is
just an interpreter.

Best,
Teerawat

On 5/10/2009, "qweq adcsad" <nill_akaser_tara at yahoo.com> wrote:

>
>
>
>Your proposition is not true. The modified code should be recompiled to take an effect.
>
> On Sun, 5/10/09, Udit Kumar <udit.vlsi at gmail.com> wrote:
>
>> From: Udit Kumar <udit.vlsi at gmail.com>
>> Subject: [ns] Help on ns2 internal organization
>> To: ns-users at ISI.EDU
>> Date: Sunday, May 10, 2009, 5:03 AM
>> Hi Friends,
>>
>> We say that in ns2 is build using C++ and Tcl language that
>> allow modifying
>> the topology and simulating without compiling the model
>> again.
>>
>> Can you please tell me how this is happening, Why there is
>> no need to
>> recomiple c++ again, Or how data structure is maintained
>> inside ns2/c++ so
>> that there is no need to recompile again.
>>
>> Please help on this ASAP, It is urgent for me.
>>
>> Thanks & Regards,
>> Udit Kumar
>
>
>
>



More information about the Ns-users mailing list