On 7/19/06, Tarun Saxena <[EMAIL PROTECTED]> wrote:
>
>
> To calculate the bandwidth:
>
> set bw [$sink set bytes_]

This should give you the number of bytes transferred during the
simulation. Bandwidth would be a property of the link over which this
connection is made.

> puts "[$tcp set maxcwnd_] [expr $bw*8/300]"

That should give you the throughput, as far as I can see.
Regards
Abhijeet

Reply via email to