18

Bonjour Programming

WHAT YOU WILL LEARN IN THIS CHAPTER

  • How to publish a service on the network using the NSNetService class
  • Discovering services on the network using the NSNetServiceBrowser class
  • How to resolve the IP addresses of services on the network

Bonjour is Apple's implementation of the Zeroconf protocol, which enables the automatic discovery of computers, devices, and services on an IP network. In this chapter, you will learn how to implement Bonjour on the iOS by using the NSNetService class to publish a service. You will also use the NSNetServiceBrowser class to discover services that have been published.

Get Beginning iOS 5 Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.