Hi,

The README is faulty in this case. Try "-rate 4.0" instead of "-rate 4". 
That'll work.

Best,

-Matt

Am Donnerstag, 5. Oktober 2006 02:00 schrieb [EMAIL PROTECTED]:
> Message: 15
> Date: Wed, 4 Oct 2006 19:19:20 +0200
> From: "Pragasen Mudali" <[EMAIL PROTECTED]>
> Subject: [ns] problen with traffic generator
> To: ns-users@ISI.EDU
> Message-ID:
>         <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> I want to generate a constant bit rate of 4 packets per second. When using
> the cbrgen.tcl script with -rate set to 4 I receive this message "invalid
> sending rate 4".
> The error is generated when executing these lines of code.
> 
> set opt(interval) [expr 1 / $opt(rate)]
> if { $opt(interval) <= 0.0 } {
>     puts "\ninvalid sending rate $opt(rate)\n"
>     exit
> }
> 
> I find it strange that a rate of 4 packets per second doesn't work because
> it is used as an example in the traffic generator's README file.
> What should do to receive a constant bit rate of 4 packets per second?
> 
> All help appreciated
> 
> Pragasen
> 

Reply via email to