24. Bonjour

Bonjour is Apple’s implementation of the ZeroConf standard, which allows services to advertise themselves on a network. It also allows clients to search for services. In this chapter, you are going to create an application that advertises its presence on the local network. It will also search for other devices on the network that advertise the same Bonjour service. The application will display a table view that lists every device running the Bonjour service on the network and a message that the application includes in its advertisement.

Figure 24.1. Two users have published messages

image

Publishing a Service

Create a new Window-based ...

Get iPhone Programming: The Big Nerd Ranch Guide 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.