myOutputStream = mySocket.getOutputStream();
myOutputStream = new BufferedOutputStream(mySocket.getOutputStream());
    public OutputStream getOutputStream() throws IOException {        if (myOutputStream == null) {            myOutputStream = mySocket.getOutputStream();        }        return myOutputStream;    }