Windows 并发 tcp/ip 连接的最大数量是多少? [英] Which is the maximum number of Windows concurrent tcp/ip connections?
问题描述
在 .NET 中,我已经成功尝试了以下配置:
In .NET I have already tried the configuration below successfully:
<system.net>
<connectionManagement>
<add address="*" maxconnection="100"/>
</connectionManagement>
</system.net>
使用 100 个并发 HttpWebRequest,他们几乎同时(不到一秒)回复了.
Using 100 concurrent HttpWebRequest they answered almost simultaneously (less than a second).
我想知道为什么有些人在某些论坛上写道 Windows XP 和 Windows Server 2008 将这个数字限制为 15 或 20.他们是对的?
I wonder why some people wrote in some forums that Windows XP and Windows Server 2008 limits this number to 15 or 20. They are right?
推荐答案
这可能是因为人们将入站 SMB 连接数与 TCP/IP 连接数混淆了.SMB 用于文件共享和其他各种用途,在 Windows 客户端操作系统中限制为 10 个连接.
It could be because people are confusing the number of inbound SMB connections with the number of TCP/IP connections. SMB is used for file sharing and various other things and is limited to 10 connections in Windows Client OSes.
http://support.microsoft.com/kb/328459
这篇关于Windows 并发 tcp/ip 连接的最大数量是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!