diff --git a/src/ippdiscovery.cpp b/src/ippdiscovery.cpp index bd0839e..30b81c0 100644 --- a/src/ippdiscovery.cpp +++ b/src/ippdiscovery.cpp @@ -70,6 +70,8 @@ void IppDiscovery::discover() { QByteArray bytes((char*)(query.raw()), query.size()); socket->writeDatagram(bytes, QHostAddress("224.0.0.251"), 5353); + qDebug() << "discovering"; + } void IppDiscovery::update() @@ -158,6 +160,13 @@ void IppDiscovery::readPendingDatagrams() } + qDebug() << "ptrs" << ptrs; + qDebug() << "rps" << rps; + qDebug() << "ports" << ports; + qDebug() << "targets" << targets; + qDebug() << "AAs" << AAs; + qDebug() << "AAAAs" << AAAAs; + for(QMap::Iterator it = ptrs.begin(); it != ptrs.end(); it++) { quint16 port = ports[it.value()];