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

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



You must have been using an older version of ns. 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
> 
>