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

Re[2]: TCP agent always set ssthresh_ = int(wnd_).



Hello Mark,


MA> In *most* TCP implementations the ssthresh variable is initially set
MA> to the advertised window (a close approximation of infinity for that
MA> particular connection).  In *some* TCP implementations the initial
MA> ssthresh is quite a bit lower than the advertised window.  But, I
MA> think the ns implementation is reasonablly consistent with the real
MA> world.

MA> (And, resetting a connection is like starting it again, so the
MA> argument for re-setting ssthresh to its initial value is the same as
MA> for setting it that way in the first place.).

OK. The following is just a reminder for those who want to set window_
different from ssthresh_. After creating the agent, you can set
window_, but do not set ssthresh_. You should set it in the following
way

    $ns at 0.2 "$tcp set ssthresh_ nnnn"

before you start the application attached to the agent.

MA> allman


MA> ---
MA> http://roland.grc.nasa.gov/~mallman/




Best regards,
 Huang                            mailto:[email protected]