// wait for Connections
System.out.println("server fully up and running");
while (true) {
Socket s = server.accept();
System.out.println("new connection from " + s.getInetAddress());
InputThread ct = new InputThread(s);
ct.start();
}
} catch (Exception e) {
e.printStackTrace();
} finally {
if (server != null) {