changing congestion window

21 views
Skip to first unread message

shubhu

unread,
Mar 21, 2014, 4:54:24 AM3/21/14
to ns-3-...@googlegroups.com
hello,


i am trying to double congestion window after other rtt
as

Time current = Time::FromInteger(((m_rtt->GetCurrentEstimate().GetInteger())*2), Time::S);
   Simulator::Schedule(current,&winuprtt);


and function which i am using is

void winuprtt ()
{
 
m_cWnd=2*m_cWnd;


}

which gives error " m_cWnd not declared in this scope"
and many more

what am i doing wrong and could be best possible way to
do it


Konstantinos

unread,
Mar 21, 2014, 7:05:29 AM3/21/14
to ns-3-...@googlegroups.com
I do not want to be offensive, but this is Programming 101: Using variables.

Where is the declaration of m_cWnd variable?
Reply all
Reply to author
Forward
0 new messages