* @param port
   * @param MV_returnarray
   * @return InputStream
   */
  public static InputStream openNetworkStream(String host, int port, Object [] MV_returnarray) {
    { PushbackBufferedReader in = null;
      PrintableStringWriter out = null;

      try {
        java.net.Socket s = new java.net.Socket(host, port);
        in = new PushbackBufferedReader(s.getInputStream());
        out = new PrintableStringWriter(s.getOutputStream());
      } catch (java.net.UnknownHostException uhe) {
        throw (InputOutputException) InputOutputException.newInputOutputException("Unknown host: " + host).fillInStackTrace();
      } catch (java.io.IOException ioe) {
        throw (InputOutputException) InputOutputException.newInputOutputException(ioe.getMessage()).fillInStackTrace();
      }
;
      { InputStream self000 = InputStream.newInputStream();

        self000.nativeStream = in;
        self000.state = Stella.KWD_OPEN;
        self000.bufferingScheme = Stella.KWD_BLOCK;
        { InputStream value000 = self000;

          { OutputStream self001 = OutputStream.newOutputStream();

            self001.nativeStream = out;
            self001.state = Stella.KWD_OPEN;
            { OutputStream value001 = self001;

              { InputStream _return_temp = value000;

                MV_returnarray[0] = value001;
                return (_return_temp);
              }
            }
          }
        }
      }
    }
  }