Important: The information in this document is obsolete and should not be used for new development.
The DNSServiceDiscovery API is appropriate for Darwin programmers and developers who are comfortable working in Mac OS X at the Mach level. This is a low-level API that interacts directly with the Mach kernel and the mDNS responder daemon.
Bonjour provides two higher-level APIs as alternatives to this one. Cocoa developers should generally use the NSNetServices API documented in Bonjour Overview and Carbon developers should generally use the CFNetServices API documented in CFNetwork Programming Guide.
These higher-level APIs provide the similar services to the DNSServiceDiscovery API and are designed to fit cleanly with code written using a specific framework. Note, however, that the DNSServiceDiscovery API provides a finer degree of control than the CFNetServices and NSNetServices APIs.
Last updated: 2005-04-29