XChinux: QTcpSocket *socket = new QTcpSocket(); socket->connectToHost("time.nist.gov", 13); if (socket->waitForConnected()) { & .. (2013-01-11 13:23)