The port is actually running! ! !

zhaozj2021-02-16  105

Write a TCP Server, multi-thread, blocking method.

Write a client test program, test results: Test, Win2000, P4 2.0G 256M memory, more than 300, client connection timeout.

angry! Heart cool half!

Change the desktop P4 2.4G 512 Memory Win2000 Server.

When connected to more than 1900, the server thread creation fails, and the estimated thread has reached the upper limit.

SOCK can also continue to connect, even more than 3,000, close to 4000, and client connection report addresses.

Is there a temporary port allocated? awesome.

转载请注明原文地址:https://www.9cbs.com/read-11039.html

New Post(0)