Logo Search packages:      
Sourcecode: qtsmbstatus version File versions  Download package

void ClientSocket::slot_echo_timer (  )  [private, slot]

Timer ending (echo), sends a new echo request. After 3 failures, disconnect.

Definition at line 575 of file clientsocket.cpp.

References ClientSSL::closeConnection(), and sendToServer().

Referenced by ClientSocket().

{
      echo++;
      if (!ssl_connected) return;
      debugQt("ClientSocket::slot_echo_timer() - echo = "+QString::number(echo));
      if (echo > 2) socketclient->closeConnection(); //  After 3 failures, disconnect
      else sendToServer(echo_request); // sends a new echo request
}


Generated by  Doxygen 1.6.0   Back to index