简体   繁体   中英

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

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.

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

The issue seems to be related to the number of ports that can be opened. The defaults are pretty less. Check this link to get steps on increasing them on windows

The max I believe is 65534

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM