driver/src/sick_scan_common_nw.cpp
bool SickScanCommonNw::openTcpConnection()
{
  //  printInfoMessage("SickScanCommonNw::openTcpConnection: Connecting TCP/IP connection to " + m_ipAddress + ":" + toString(m_portNumber) + " ...", m_beVerbose);

  bool success = m_tcp.open(m_ipAddress, m_portNumber, m_beVerbose);
  if (success == false)
  {
    // printError("SickScanCommonNw::openTcpConnection: ERROR: Failed to establish TCP connection, aborting!");
    return false;
  }

  return true;
}
/**
 * Open TCP-connection to endpoint (usually IP-address and port)
 *
 * true = Connected, false = no connection
 */
Open TCP-connection to endpoint (usually IP-address and port)
true = Connected, false = no connection
Open TCP - connection to endpoint ( usually IP - address and port ) true = Connected false = no connection
bool SickScanCommonNw::openTcpConnection()
{
  bool success = m_tcp.open(m_ipAddress, m_portNumber, m_beVerbose);
  if (success == false)
  {
    return false;
  }
  return true;
}
bool SickScanCommonNw :: openTcpConnection ( ) { bool success = m_tcp . open ( m_ipAddress , m_portNumber , m_beVerbose ) ; if ( success == false ) { return false ; } return true ; }
Open TCP-connection to endpoint (usually IP-address and port)
 true = Connected, false = no connection
Open TCP - connection to endpoint ( usually IP - address and port ) true = Connected false = no connection
//  printInfoMessage("SickScanCommonNw::openTcpConnection: Connecting TCP/IP connection to " + m_ipAddress + ":" + toString(m_portNumber) + " ...", m_beVerbose); // printError("SickScanCommonNw::openTcpConnection: ERROR: Failed to establish TCP connection, aborting!");