Twisted: number of client connections to TCP server limited?
问题 I'm writing a chat server and encountered the following problem while unit testing it. In one of my unit tests, I connect many test clients to my server. As the number of connected users get to 511 the server stops responding without any error message. At this stage everything runs locally on a PC. I have prepared a simple server, test client and unit test code to paste into the forum. Any idea why the server hangs up? Any help is much appreciated This code is basicly from the twisted simple