pump.start();
    public boolean connect(String hostname, int port) {        try {            socket = new Socket(hostname, port);        } catch(UnknownHostException ex) {            return false;        } catch(IOException ex) {            return false;        }        pump = new Thread(this);        pump.start();        return true;    }