Sorry for the bump, but does anyone know how to obtain the TXT record
given a NSNetService? At the lowest level, I can call
DNSServiceQueryRecord with the domain name received / constructed from
the NSNetService result and rrtype TXT, but this feels clunky and
bypasses the Cocoa framework, not to mention requiring me to build a
completely separate callback processing loop.
Actually, using DNSServiceQueryRecord isn't really that difficulty,
however, you can get the TXT record via NSNetServices by first calling
"resolve" on the NSNetSerivce, and then by calling
protocolSpecificInformation.