What can cause “ IO error java.net.SocketException: select failed ”?
I have a server program running on my laptop, same router and same code. It work's fine and clients can connect. However when I copied the workspace to my PC and when I run it, I get this nonsense: IO error java.net.SocketException: select failed Here is the code... public static void main(String[] args) { System.out.println("running server!"); int nreq = 1; try{ ServerSocket sock = new ServerSocket(7331); for(;;){ Socket newsock = sock.accept(); System.out.println("Creating thread..."); //Thread t = new ThreadHandler(newsock, nreq); //t.start(); nreq++; } } catch(Exception e) { System.out