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

Re: [ns] Questions about TCP



> 1. How can I get information about cwnd, retransmission timeout and other
> interesting TCP parameters, what I mean to say is, are there any commands
> that I have to add to my tcl script that will give me these values ?

They are all otcl-bound variables, so you can access them using instvar or
just set.

> 2. How can I change various parameters for an FTP source or for any other
> source ?

Seems you have little to change in the FTP model. Any case, please read
its source code in tcl/lib/ns-source.tcl. 

> 3. Is it possible to attach multiple agents to more than one source ?

No. But you can cerainly hack those traffic source code and let it do
this. 

- Haobo

> Regards,
> Ashish
> 
> **************************************************************************
> ASHISH C. NAGRE                             Graduate Student
> Department of Computer Sciences             e-mail: [email protected]
> Indiana, 47906. USA                         Office: MA 603
> url : www.cs.purdue.edu/people/nagreac      Phone: 765-746-4545
> **************************************************************************
> 		       :PHILOSOPHY OF LIFE:
> Stability without boredom; passion without recklessness; happiness
> without naivete. Plan for sunshine but bring an umbrella.  A little
> paranoia never hurt anyone. Underpromise and overdeliver. 
> ---------------------------------------------------------------------------
> 
>