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

Re: Warning: error in "ns Notes and Documentation"



Haobo Yu wrote:

> You must have been using an older version of ns.

I'm using the  most recent release,  ns-2.1b5 (released 16-Mar-99) , which I
thought was the most recent stable version, and therefore the one described
on the documentation. In addition this is the version you get if you download
the allinone package.


> In the current snapshot,
> the default is packetSize_ but you can still use packet_size_ for backward
> compatibility.
>
> - Haobo
>
> On Thu, 26 Aug 1999, Vicent Pla wrote:
>
> > Hi all,
> >
> > please be careful with this I wasted several hours trying to figure out
> > what was wrong.
> >
> > Exponential On/Off  traffic source.
> >
> > It says
> >
> >         set e [new Application/Traffic/Exponential]
> >         $e set packetSize_ 210
> >         $e set burst_time_ 500ms
> >         $e set idle_time_ 500ms
> >         $e set rate_ 100k
> >
> > Is should say
> >
> >         set e [new Application/Traffic/Exponential]
> >         $e set packet_size_ 210
> >         $e set burst_time_ 500ms
> >         $e set idle_time_ 500ms
> >         $e set rate_ 100k
> >
> >
> > if not,  packet_size will always take the default value (210 bytes).
> >
> > ______________________________________________
> >
> > Vicent Pla
> >
> >

______________________________________________

Vicent Pla