Maximum TCP client connection number on Windows 7 Pro for a C# TCP server software

sanchop22 picture sanchop22 · Apr 12, 2012 · Viewed 13.3k times · Source

i am running a TCP server on my machine. My operating sytem is Windows 7 Professional. I tested my server with a TCP connection test software and i think my computer does not allow more than 300-400 connections. I tested my software for 1000 TCP clients and everytime my software (or computer i don't know) does not accept more than 300-400 connections.

What is the maximum number of connections for a PC (not a server PC) practically not theoretically. I am developing software on a Windows 7 PC but i will use the software on a Windows Server so i want to know if the problem is my operating system or my software.

Thank you.

Answer

Ignacio Soler Garcia picture Ignacio Soler Garcia · Apr 12, 2012

I remember that there is a setting to limit the number of connections to a TCP port to avoid DoS attacks (Denial Of Service).

This is a setting that can be deactivated, maybe this is the limit you're reaching.

Look here