diff --git a/src/comm/UDPLink.cc b/src/comm/UDPLink.cc index a49d18b17c5199dcb640913fe2cb7540d8eec2d8..5ffea46f0cdeee5a322a73e2cc3726ce617f9ef9 100644 --- a/src/comm/UDPLink.cc +++ b/src/comm/UDPLink.cc @@ -140,20 +140,21 @@ void UDPLink::removeHost(const QString& hostname) void UDPLink::writeBytes(const char* data, qint64 size) { // Broadcast to all connected systems - //QList::iterator h; - // for (h = hosts->begin(); h != hosts->end(); ++h) - - - for (int h = 0; h < hosts.size(); h++) { + for (int h = 0; h < hosts.size(); h++) + { QHostAddress currentHost = hosts.at(h); quint16 currentPort = ports.at(h); - - qDebug() << "WRITING TO" << currentHost.toIPv4Address() << currentPort; + QString bytes; + QString ascii; + //qDebug() << "WRITING DATA TO" << currentHost.toString() << currentPort; for (int i=0; iwriteDatagram(data, size, currentHost, currentPort); }