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

Re: [ns] Please,help me!!!!!



It seems to me there is no such bound variable in tcp.cc. The rto is returned from the
function

double TcpAgent::rtt_timeout()

which is used in:

void TcpAgent::set_rtx_timer()
{
 rtx_timer_.resched(rtt_timeout());
}

You could add a new bound variable eg. timeout_ and change the set_rtx_timer() like this:

void TcpAgent::set_rtx_timer()
{
timeout_=rtt_timeout();
rtx_timer_.resched(timeout_);
}


"procacci.gaetano" wrote:

> Hi everybody,
> I am a green hand of ns and i am using ns-2.1b6 on Redhat Linux 6.0.
> I am using TCP/Reno in my simulation and i have a problem.
> Could someone please explain to me how obtain RTO in xgraph.
> Which is it the variable that i owe set to measure the timeout ?