I am running the Fortune Server and Fortune Client examples. Unfortunately, both programs start up fine, but they do not make a TCP socket connection. The server says it is listening, and 'netstat' confirms this. After the client calls 'connectToHost', the socket is supposedly open. Here is the code that I use to confirm that:
Qt Code:
  1. getFortuneButton->setEnabled(false);
  2. blockSize = 0;
  3. tcpSocket->abort();
  4. tcpSocket->connectToHost(hostLineEdit->text(),
  5. portLineEdit->text().toInt());
  6.  
  7. if (tcpSocket->isOpen ())
  8. statusLabel->setText ("It is open.");
  9. else
  10. statusLabel->setText ("It is NOT open.");
To copy to clipboard, switch view to plain text mode 

I even tried to connect the client to another (non-QT) server application I have and the QT client does not make the connection.

Does anyone know of any problems with the Fortune Server, Fortune Client examples?

Thanks,
DP