mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-19 10:32:02 -05:00
Added code to hangle DNS loopkup failures in PSK Reporter.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3566 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
2e610e1cea
commit
7500b4dcbb
@ -1,4 +1,4 @@
|
|||||||
//-------------------------------------------------------------- MainWindow
|
//---------------------------------------------------------------- MainWindow
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
#include "ui_mainwindow.h"
|
#include "ui_mainwindow.h"
|
||||||
|
|
||||||
|
@ -106,7 +106,9 @@ void PSK_Reporter::sendReport()
|
|||||||
|
|
||||||
// Get IP address for pskreporter.info and send report via UDP
|
// Get IP address for pskreporter.info and send report via UDP
|
||||||
QHostInfo info = QHostInfo::fromName("report.pskreporter.info");
|
QHostInfo info = QHostInfo::fromName("report.pskreporter.info");
|
||||||
|
if (!info.addresses().isEmpty()) {
|
||||||
m_udpSocket->writeDatagram(report,info.addresses().at(0),4739);
|
m_udpSocket->writeDatagram(report,info.addresses().at(0),4739);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user