|
HDK
|
#include <NET_MDNS.h>
Public Member Functions | |
| NET_mDNS () | |
| ~NET_mDNS () | |
| void | executeQuery (const UT_StringHolder &service, UT_Array< NET_mDNSQueryResult > &results, const std::chrono::milliseconds &max_query_time, NET_mDNSIpFilter ip_filter=NET_mDNSIpFilter::IP_ANY) |
Static Public Member Functions | |
| static bool | parseQueryReply (const UT_StringRef &service, const void *data, size_t size, NET_mDNSQueryResult &result) |
Definition at line 98 of file NET_MDNS.h.
|
inline |
Definition at line 101 of file NET_MDNS.h.
| NET_mDNS::~NET_mDNS | ( | ) |
| void NET_mDNS::executeQuery | ( | const UT_StringHolder & | service, |
| UT_Array< NET_mDNSQueryResult > & | results, | ||
| const std::chrono::milliseconds & | max_query_time, | ||
| NET_mDNSIpFilter | ip_filter = NET_mDNSIpFilter::IP_ANY |
||
| ) |
|
static |
Parse one reply to a query for service, the same way executeQuery parses each reply it receives. Returns true and fills result if the reply has an SRV record for an instance of service. This lets tests feed in a reply without a network.