Reference Manual

NAME
settcp - set the Windows Registry variable TcpNumConnections
SYNOPSIS
settcp [n]
DESCRIPTION
When invoked with no argument, settcp prints the value of the Windows Registry variable that controls the maximum number of TCP connections that the TCP/IP protocol will allow.

If argument n is specified, the appropriate variable is set to that value. If n is 0, the Registry variable is deleted.

NOTES
When P2P filesharing applications run on the Windows machine, a potentially large number of TCP connections may be established. This leads to performance problems and high network usage. By limiting the maximum number of TCP connections, such problems are avoided.

Windows NT and later systems do not limit the number of TCP connections per default. The following Registry variable can be used to specify a limit:

HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\TcpNumConnections

A reasonable limit might be 128 for machines with a fast Internet connection, or 64 for machines with a slow Internet connection. Note that the limit applies to all network interfaces.

SEE ALSO
[Back]