title: how to check computer's state using Qt?
body: <p>i'm trying to get computer's state in my LAN...
  thought about using QTcpSocket but it's not realy effective since port also should be inserted as:</p>
  
  <pre><code>socket-&gt;connectToHost("hostName", portNumber);
  if (socket-&gt;waitForConnected(1000))
       qDebug("Connected!");
  </code></pre>
  
  <p>can anyone demonstare me a better way to check if computer is responding ? </p>