English 中文(简体)
最大连接点可以由国际海洋生物组织接受和持有。
原标题:What s the maximum connects can IOCP accept and hold

I do some IOCP Server and Client test. The IOCP Server accept the clients connects and do nothing but recv datapackets from clients. The clients connect the server and send datapackets to server in an infinit loop.

我提出了反对。 当服务器接受客户时,其数额会增加,而当笔记本关闭时,则会减少。

Here is the question: The counter increases to 32261 and not increases any more. The Server cannot accept more connects, The GetLastError() return 10055, WSAENOBUF.

我的顾问办公室是Windows XP,记忆是4GB。 我也检查了未页的记忆。 我认为我有足够的记忆。

What limits the maximum of connects? How can I enlarge the maximum connects?

问题回答

很难说,如果看不见你的法典,会给你造成问题。 它不太可能是无页的集耗竭;我对Windows 2003进行了仅760MB ram的超时测试,并同时与设在国际清洁生产中心的一个服务器建立了70 000多个链接(见rel=“nofollow”)。 可以是I/O页的锁定限(见rel=“nofollow”>here);但这取决于服务器在接收连接线后正在做什么工作,是否将其张贴到什么缓冲尺寸? 如我所知,适当时使用未页的集合耗竭和I/O页的锁定限将给出<条码>。

您是否尝试过一次更现代和(或)服务器级的非洲顾问考试? Vo and subsequently make more non-pagedgroup available (see here for details.

The limit for the unpageable memory was hit. Are you using Push Framework to test with IOCP ?





相关问题
How does this max() expression in Python work?

Here s the code: a = [1,2,3,4] b = {} b[1] = 10 b[2] = 8 b[3] = 7 b[4] = 5 print max(a,key=lambda w: b[w]) This prints out 1. I don t understand how max(a,key=lambda w: b[w]) is being evaluated ...

Java: Finding the highest value in an array

For some reason this code is printing three values for the highest value in the array when I m trying to print just one (which is 11.3). Can someone please explain to me why it is doing this? Thanks. ...

SQL getting max date from two tables

I have two tables USER (one row per user) id,username,firstname,lastname,lastmodified 1,johns, John,Smith, 2009-03-01 2,andrews, Andrew,Stiller, 2009-03-03 STUDIES (multiple rows per user) id,...

Mysql Foreach Child show Max() and Min() in a single line

Is it possible to use a select statement so that it returns Max and min columns of a child row foreach Parent record? So foreach parent record that has MANY child records I want to see the Max and ...

热门标签