QMdnsEngine
0.1.0
Multicast DNS library for Qt applications
|
Resolver for services More...
#include <qmdnsengine/resolver.h>
Signals | |
void | resolved (const QHostAddress &address) |
Indicate that the host resolved to an address. More... | |
Public Member Functions | |
Resolver (AbstractServer *server, const QByteArray &name, Cache *cache=0, QObject *parent=0) | |
Create a new resolver. | |
When Browser indicates that a new service has been found, it becomes necessary to resolve the service in order to connect to it. This class serves that role. A Cache can optionally be provided to speed up the resolving process.
For example, assuming that record
is a SRV record:
|
signal |
address | service address |
This signal will be emitted once for each resolved address. For example, if a host provides both A and AAAA records, this signal will be emitted twice.