qDebug() << "Entering Connecting State";
#endif
+ qDebug() << "Host address is:" << m_hostAddress;
if (!m_hostAddress.isNull())
{
if (socket->bind(QHostAddress::Any, m_localPort))
emit connectionError();
return;
}
+
+ qDebug() << "Resolving Host address";
QHostInfo::lookupHost(m_host, this, SLOT(lookedUp(QHostInfo)));
}
return;
}
-#ifdef ANIDBUDPCLIENT_CLIENT_MISC_DEBUG
qDebug() << "Resolved" << hostInfo.hostName()
<< "to the following addresses:";
for (auto&& address : hostInfo.addresses())
qDebug() << address;
qDebug() << "Using" << hostInfo.addresses()[0];
-#endif
m_hostAddress = hostInfo.addresses()[0];