title: QTcpSocket reconnection way
body: <p>I use QTcpSocket for getting information from server.</p>
  
  <p>From my side it's necessary to connect and wait for bytes from server, and get them.</p>
  
  <p>I create QTcpSocket. Connect it to host. Begin getting data, that's ok. But when, for example, I pull out the ethernet cable, there is no difference with the socket object.</p>
  
  <p>I tried to connect such signals as QAbstractSocket::error() and QAbstractSocket::stateChange(), but none gives me anything at the moment of disconnection.</p>
  
  <p>My task is to wait some seconds and try to reconnect, until I get a connection again.</p>
  
  <p>Any advice?</p>