void doConnect() throws IOException {
  int port=0;
  if (hasMoreTokens()) {
    try {
      port=nextIntToken();
    }
 catch (    NumberFormatException ex) {
      err(ex.getLocalizedMessage());
    }
  }
 else {
    port=DProtocol.DEBUG_CONNECT_PORT;
  }
  if (port > 0) {
    m_connectPort=String.valueOf(port);
    doRun();
  }
}

void doConnect ( ) throws IOException { int port = 0 ; if ( hasMoreTokens ( ) ) { try { port = nextIntToken ( ) ; } catch ( NumberFormatException ex ) { err ( ex . getLocalizedMessage ( ) ) ; } } else { port = DProtocol . DEBUG_CONNECT_PORT ; } if ( port > 0 ) { m_connectPort = String . valueOf ( port ) ; doRun ( ) ; } }
fire up a session or await a connection from the socket if no uri was specified .
