Re: [ns] Which parameters are accessable in script for wireless medium

2006-01-27 Thread Hajer FERJANI
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 <[EMAIL PROTECTED]> wrote: > >

[ns] Which parameters are accessable in script for wireless medium

2006-01-27 Thread dharmendra
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