ns-allinone-2.35/tcp/tcp.cc
void
TcpAgent::set_initial_window()
{
	if (syn_ && delay_growth_) {
		cwnd_ = 1.0; 
		syn_connects_ = 0;
	} else
		cwnd_ = initial_window();
}
//
// in 1-way TCP, syn_ indicates we are modeling
// a SYN exchange at the beginning.  If this is true
// and we are delaying growth, then use an initial
// window of one.  If not, we do whatever initial_window()
// says to do.
//
in 1-way TCP, syn_ indicates we are modeling
a SYN exchange at the beginning.  If this is true
and we are delaying growth, then use an initial
window of one.  If not, we do whatever initial_window()
says to do.
in 1 - way TCP syn_ indicates we are modeling a SYN exchange at the beginning . If this is true and we are delaying growth then use an initial window of one . If not we do whatever initial_window () says to do .
void
TcpAgent::set_initial_window()
{
	if (syn_ && delay_growth_) {
		cwnd_ = 1.0; 
		syn_connects_ = 0;
	} else
		cwnd_ = initial_window();
}
void TcpAgent :: set_initial_window ( ) { if ( syn_ && delay_growth_ ) { cwnd_ = 1.0 ; syn_connects_ = 0 ; } else cwnd_ = initial_window ( ) ; }
in 1-way TCP, syn_ indicates we are modeling
a SYN exchange at the beginning.
in 1 - way TCP syn_ indicates we are modeling a SYN exchange at the beginning .