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

RE: [ns] TCP parameters





--
Free Dmitry Sklyarov ! 
http://www.freesklyarov.org

> -----Original Message-----
> From:	[email protected] [SMTP:[email protected]]
> Sent:	Monday, October 22, 2001 11:45 AM
> To:	Ns users
> Subject:	[ns] TCP parameters
> 
> Hi all,
>   I'm trying to modify TCP parameters,
> but I don'see any effects.....
> 
> What the correct procedure?
> 
> Part of the .tcl script is:
> 
>    set tcp0 [new Agent/TCP]
>   
>    Agent/TCP set Window_ 40          #why it has no effect?
> 
	try with a small "w": "window_"

>    Agent/TCP set WindowInit_ 1
> 
> 
>    Agent/TCP set sstresh_ 30         #why is ever 20 in simulation?
>   
	this setting is ignored, ssthresh is always initialized to window_
	In TCPAgent::reset() you can find:
	ssthresh=window; :-/

	Bye
	Alex