emit connectionError();
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];
// TODO could it be nicer?