settcp - set the Windows Registry variable TcpNumConnectionsSYNOPSIS
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.NOTESIf argument n is specified, the appropriate variable is set to that value. If n is 0, the Registry variable is deleted.
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.SEE ALSOWindows 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.