ServerSocket ss = new ServerSocket( Integer.parseInt(argv[0]) ); System.out.println("starting..."); while ( true ) { new TinyHttpdConnection( ss.accept() ).start(); System.out.println("new connection"); }