int id = getFreeConnectionId();
System.out.println("s: accepting player connection #" + id + " ...");
IConnection c = ConnectionFactory.getInstance().createServerConnection(s, id);
c.addConnectionListener(connectionListener);
c.open();
connectionsPending.addElement(c);
greeting(id);
ConnectionWatchdog w = new ConnectionWatchdog(this, id);
timer.schedule(w, 1000, 500);