What is the maximum connection limit of the server? One installation 13 test for the open-source project of diocp3 (8 W connections)
Test demo path
Diocp3 \ samples \ echo
Previously, the group said that a server can have a maximum of 65535 high (Word) connections. At that time, I checked that the socket type is u_long, which is not word. Although not so many connections, although Shi Runge did the test. Today, I found that my host can have 6 million connections, and I decided to test the number of connections under diocp3. 8 W connections and 441 M memory. It should be 10 W. Of course, in reality, it is impossible for a single server to handle so many connections. It is obviously a 13-pack test. Only a 65535 Test
The maximum number of connections to the server is clearly fixed. I just confirmed> 65535. I think the theoretical value should be high (u_long ).
Diocp3-what is the maximum server connection? One installation 13 test of diocp3 (8 W connections)