@Override
    public void run() {
        Socket clientSocket = null;
        while (clientSocket == null && !isInterrupted()) {
            try {
                clientSocket = new Socket(hostname, GameControl.PORT);
            } catch (IOException ex) {
                //ToDo: Logger                 Logger.getLogger(ServerSearchThread.class.getName()).log(Level.SEVERE, null, ex);
            }
        }
        if (clientSocket != null) {
            for (ActionListener a : listeners) {
                a.actionPerformed(new ActionEvent(clientSocket, 0, "Mit Server verbunden"));
            }
        }
    }