shutdownOutput();
closed = true;
    protected synchronized OutputStream getOutputStream() throws IOException {	return new OutputStream() {	    public void write (int b) throws IOException {		byte[] buffer = new byte[]{ (byte)b };		JikesRVMSocketImpl.this.write(buffer, 0, 1);	    }	    public void write (byte[] b) throws IOException {		JikesRVMSocketImpl.this.write(b, 0, b.length);	    }	    public void write (byte[] b, int off, int len) throws IOException {		JikesRVMSocketImpl.this.write(b, off, len);	    }	    public void flush () throws IOException {		VM_FileSystem.sync( native_fd );	    }	    public void close () throws IOException {		shutdownOutput();	    }	};    }	   