NSNetServices and CFNetServices Programming Guide is a collection of articles describing the APIs that implement Bonjour on the Foundation and Core Foundation levels. The articles describe how to use NSNetServices, and CFNetServices for tasks such as publishing a service and browsing for services.
This document is intended for developers who wish to add Bonjour functionality to their Cocoa or Carbon application. It assumes that the developer already is familiar with the basics of Bonjour from reading Bonjour Overview. If developers want to add Bonjour functionality into a non-Cocoa, or a BSD-style application, it is recommended that they investigate the DNS Service Discovery Programming Guide first.
This document contains the following articles:
“Foundation Network Services Architecture” describes the functions available in the NSNetServices framework.
“Publishing Network Services” explains how to publish a Bonjour service.
“Browsing for Network Services” describes how to search for available Bonjour services.
“Browsing for Domains” explains how to browse for Bonjour domains
“Resolving and Using Network Services” explains how to resolve a Bonjour service.
“CFNetServices” explains how to perform all of the above tasks using the Core Foundation framework.
Last updated: 2010-03-24