Search code examples
javawindowsportsbacklog

Maximum backlog value for Windows port


It seems that there is an upper limit of ~200 for the backlog queue on Windows ports. Is it true? And if so, can i change the limit?

I'm doing ServerSocket.accept(backlog) on a Windows XP Professional.

Should i move to Windows Server?


Solution

  • According to this article it's even less. They say 5 for standard windows, 200 for windows server.

    This knowledge base article is said to explain how to increase it - I just forwarded the link, didn't understand it ;)