Friday, January 28, 2011

Which is the default TCP connect timeout in Windows?

Which is the default TCP connect timeout in Windows? There is a registry key to configure it or it's set dynamically?

  • In Windows the value is dynamic for established conections, though the default for initial connections is 72 seconds. The Registry settings are defined in this article:

    http://technet.microsoft.com/en-us/library/cc739819(WS.10).aspx

    HKEY_LOCAL_MACHINE \SYSTEM \CurrentControlSet \Services: \Tcpip \Parameters

    TcpInitialRTT: Defines what the initial time-out settings are for new connections. This number in seconds is doubled each time it retransmits before timing a connection out. Defaults to 3.

    TcpMaxConnectRetransmissions: Defines the number of retransmissions before timing a connection out. Defaults to 5.

0 comments:

Post a Comment