Im' writing a NIO multiplayer game server which must support up to 1000 concurrent users. Currently I test the code on Windows XP Prof. SP2, and get the following exception when concurrent connections number is around 620:
java.net.SocketException: No buffer space available (maximum connections reached?): connect
Could anybody please explain this and help to resolve the problem?