diff options
Diffstat (limited to 'FTNoIR_Protocol_FTN')
-rwxr-xr-x[-rw-r--r--] | FTNoIR_Protocol_FTN/FTNoIR_Protocol_FTN.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FTNoIR_Protocol_FTN/FTNoIR_Protocol_FTN.cpp b/FTNoIR_Protocol_FTN/FTNoIR_Protocol_FTN.cpp index 877d4aeb..eb51fb76 100644..100755 --- a/FTNoIR_Protocol_FTN/FTNoIR_Protocol_FTN.cpp +++ b/FTNoIR_Protocol_FTN/FTNoIR_Protocol_FTN.cpp @@ -161,7 +161,7 @@ bool FTNoIR_Protocol_FTN::checkServerInstallationOK( HANDLE handle ) inSocket = new QUdpSocket();
// Connect the inSocket to the port, to receive messages
- if (!inSocket->bind(QHostAddress::Any, destPort+1)) {
+ if (!inSocket->bind(QHostAddress::Any, destPort+1, QUdpSocket::ShareAddress | QUdpSocket::ReuseAddressHint)) {
QMessageBox::warning(0,"FaceTrackNoIR Error", "Unable to bind UDP-port",QMessageBox::Ok,QMessageBox::NoButton);
delete inSocket;
inSocket = 0;
|