[ns] What is Packet Interval !!
Mathiew Moussa
mmm59 at aub.edu.lb
Mon Oct 27 04:59:28 PDT 2008
Hi Jianliang,
Thanks for the prompt reply, i appreciate it.
I was wondering .. ok i'm in the ns-default.tcl file ... but there's
nothing called 'packet interval'. Does have a different name or
terminology, where is it located in the file ?
And what does it exactly 'packet interval' , is it like TTL ?
and about adding it to the MY tcl as an alternative to the above, can
you give me an example or how to add it.
Excuse me but I'm new at NS2 and details are important :)
Thanks Alot.
Mathiew
Quoting J GAO/Jianliang GAO <j.gao at Bradford.ac.uk>:
> Hi Mathiew,
> You can change Packet Interval value in the file ns-default.tcl in
> folder ns-2.xx\tcl\lib. However, it is not so convenient to change
> the value of interval by modifying ns-default.tcl every time you
> test your code in different interval time. There is an alternative
> way to change the value of interval. You can change the value in
> your own .tcl code in the corresponding part of code of traffic you
> use. Obviously, this way facilitates your test.
> To find out what exact reason causes the error, using ddd or gdb
> to debug and track the code is very helpful.
> Regards,
>
>
>
> J GAO/Jianliang GAO
> 2008-10-27
>
>
>
> 发件人: Mathiew Moussa
> 发送时间: 2008-10-27 16:34:13
> 收件人: ns-users at ISI.EDU
> 抄送:
> 主题: [ns] What is Packet Interval !!
>
>
> Hi All ns-users,
>
> Does anyone know what "Packet Interval" in NS2 is and WHERE can when
> change it.
>
> you see im using the SMAC and it was giving me an error "Couldn't
> Schedule Timer" after i ran my TCL script .. I got an answer from one
> of the guys that it might possibly have to do with the packet interval.
>
> Thanks in Advance.
>
> Mathiew
>
More information about the Ns-users
mailing list