How to determine with java what is the limit on the number of open tcp sockets (files).
Knocks out the exception java.net.SocketException: Too many open files , the reason: connections exceeded 4096, not the server version of the OS.
OS: Linux, Windows and so on.