deps/PicklingTools170Release/Xm/ptools170/host/xmclient.cc
void openup (MidasTalker& mt)
{
  while (!Mc->break_) {

    try {
      mt.open();
      cout << "Opened connection to host:"
	   << mt.host() << " port:" << mt.port() << endl;
      break;
    }
    catch (const runtime_error& e) {
      cout << "Problem: " << e.what() << endl;
      cout << "...couldn't open right away, backing off 3 seconds" << endl;
      sleep(3);
    }
  }
}
// Try to open up the MidasTalker, in case not immediately available
Try to open up the MidasTalker, in case not immediately available
Try to open up the MidasTalker in case not immediately available
void openup (MidasTalker& mt)
{
  while (!Mc->break_) {
    try {
      mt.open();
      cout << "Opened connection to host:"
	   << mt.host() << " port:" << mt.port() << endl;
      break;
    }
    catch (const runtime_error& e) {
      cout << "Problem: " << e.what() << endl;
      cout << "...couldn't open right away, backing off 3 seconds" << endl;
      sleep(3);
    }
  }
}
void openup ( MidasTalker & mt ) { while ( ! Mc -> break_ ) { try { mt . open ( ) ; cout << " " << mt . host ( ) << " " << mt . port ( ) << endl ; break ; } catch ( const runtime_error & e ) { cout << " " << e . what ( ) << endl ; cout << " " << endl ; sleep ( 3 ) ; } } }
Try to open up the MidasTalker, in case not immediately available
Try to open up the MidasTalker in case not immediately available