[ns] Which parameters are accessable in script for wireless medium
Hajer FERJANI
f.hajer at gmail.com
Fri Jan 27 00:38:37 PST 2006
Hi,
May be you could replace :
"set ww cwnd_" by " set ww [$your_tcp_agent tcl_method_to_return_cwnd] "
where "tcl_method_to_return_cwnd" is a tcl method defined in the command()
function of tcp class, which returns the cwnd_ param.
Bye.
On 1/27/06, dharmendra <dkp at ece.iisc.ernet.in> wrote:
>
>
> Hi,
>
> I want to access congestion window for TCP traffic in my tcl script for
> wireless medium. I tried to access through following code: fw is file
> pointer
>
> proc record {} {
> global ns fw
> set time 0.3
> set now [$ns now]
> set ww cwnd_
> puts $fw "$ww"
> $ns at [expr $time + $now] "record"
> }
>
> This code is not giving cwnd parameter. Could you please pont out where
> is the mistake.
> Also where can i read about parameters which are accessable in tcl
> script for wireless medium. Can i very these parameters dynamically?
>
> Thanks in advance.
> Dharmendra
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
More information about the Ns-users
mailing list