p.flush();
    protected void printData(String data)    {        try        {            p.write(data);        }        catch (IOException e)        {            System.err.println(e);            System.exit(1);        }    }