I would like to find device lost of connection during communication. Bonjour keeps device entry in local cache with long TTL so if I find lost of communication with device than I want to call DNSServiceReconfirmRecord
to verify device is till in network.
DNSSD_API DNSServiceReconfirmRecord(
DNSServiceFlags flags,
uint32_t interfaceIndex,
const char *fullname,
uint16_t rrtype,
uint16_t rrclass,
uint16_t rdlen,
const void *rdata
);
How can I get rdata
values? can anyone guide me how to use DNSServiceReconfirmRecord
? I have all required information except rdata
on above function.