To test the client:
The client program establishes a TCP connection and sends a few bytes of data.
Virtual Machine 8 ,PC 8 , server 1 .
Set maxuserport=60000, there is a machine that is not set about around 1.5 . Finally because nearly to 100W, on the laptop to open a VM XP, reluctantly connected to more than 3W. Finally, the 1006881 connection is reached .
Test server:
The service-side program simply receives the connection without doing any other processing.
windows2008 R2 Sp1 Standard Edition, no special settings have been made.
14GB of memory, last memory using 98%.
Xeon E5405 2.0GHz, almost without CPU.
Programming Languages:
Client, server: C#/.net 4.5.
Postscript:
Test Final connection:1006881 A connection, which can be confirmed by counting and the number of handles. This test is just a test of the number of connections, without any processing. If you add data, you may have different results.
. NET millions of TCP connectivity tests in a single Windows2008