Windows Office Outlook software tips tricks Outlook Office Windows software tips tricks
 
 
  Home | Windows Tips | Office Tips | News | Books | Search | Contact | Feedback | Newsletter

Increase TCP/IP timeout
 
If you use Internet Connection Sharing or demand dial router connections, you’ve probably run across the problem that your client computer might time out waiting for the ICS / demand dial router to establish the connection. For example, your web browser might report your home site as unreachable because TCP times out before the server can establish the connection.

TCP sets a retransmission timer when it attempts the first data transmission for a connection, with an initial retransmission timeout value of three seconds. TCP doubles the retransmission timeout value for each subsequent connection attempt, and by default attempts retransmission two times. By default the first attempt is made at 3 seconds, the second at 3+6 seconds, and the third at 3+6+12 seconds, for a maximum timeout of 21 seconds. Increasing the initial retransmission timer to 5 seconds would result in a total maximum timeout of 5+10+20, or 35 seconds.

For Windows 2000 and Windows NT 4.0 clients, the initial TCP retransmission timeout is defined by the registry value HKEY_LOCAL_MACHINE\ System\ CurrentControlSet\ Services\ Tcpip\ Parameters\ InitialRtt. The InitialRtt value is a REG_DWORD with a valid range from 0-65535 and specifies the timeout in milliseconds.

The number of connection attempts is defined by the registry setting HKEY_LOCAL_MACHINE\ System\ CurrentControlSet\ Services\ Tcpip\ Parameters\ TcpMaxDataRetransmissions. The TcpMaxDataRetransmissions value is also a REG_DWORD with a valid range of 0-65535.

See TechRepublic.com for tips and articles on a broad range of other topics!

Home | Windows Tips | Office Tips | News | Books | Search | Contact