public boolean connect(String addr, String message) {

        if (addr == null) {
            System.out.println("No addresses: " + message);
        }

        if (!connected) {

            System.out.println("Connecting network-client: " + addr);

            try {
                networkClient = Network.connectToServer(NetworkManager.GAME_NAME, NetworkManager.GAME_VERSION, addr, NetworkManager.PORT, NetworkManager.PORT);
                System.out.println("Contacting server[" + addr + "]");
                networkClient.addErrorListener(this);
                networkClient.addClientStateListener(this);
                networkClient.start();
                connected = true;

                return true;
            } catch (ConnectException ce) {
                System.out.println("FAILED TO CONNECT");

            } catch (IOException ex) {
                System.out.println("FAILED TO CONNECT");
                ex.printStackTrace();
            }
        } else {
            System.err.println("CLIENT: Client allready connected: " + message);
        }
        return false;
    }