Maximum number of connections

10000

How to test? Code?

Github.com/diedai/nett…


When the test result reaches 10,000, the server does not process the client. The client cannot connect for a long time. The client closes and exits

connections: 9982 

connections: 9982

connections: 9982


Copy the code

reference

www.jianshu.com/p/490e29815…