Em seg 21 abr 2014, às 12:19:21, Jason H escreveu: > It should be 75 seconds on most platforms. You can blame that on ARPAnet.
QAbstractSocket has a 30 second timeout on DNS lookup + connection. QAbstractSocketPrivate::_q_connectToNextAddress(): [http://code.woboq.org/qt5/qtbase/src/network/socket/qabstractsocket.cpp.html#1133] // Tries to connect to the address. If it succeeds immediately // (localhost address on BSD or any UDP connect), emit // connected() and return. if (socketEngine->connectToHost(host, port)) { //_q_testConnection(); fetchConnectionParameters(); return; } [...] // Start the connect timer. if (threadData->hasEventDispatcher()) { if (!connectTimer) { connectTimer = new QTimer(q); QObject::connect(connectTimer, SIGNAL(timeout()), q, SLOT(_q_abortConnectionAttempt()), Qt::DirectConnection); } connectTimer->start(QT_CONNECT_TIMEOUT); } -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest