Bonjour, which is Apple’s implementation of the Zeroconf standard, is a very compelling idea. It extends the idea of DNS so that things on the network can declare their intentions. For example, when a Zeroconf-compliant device is plugged into a network, it can declare I am grouse.local, and my IP address is! If another device already has that IP address, it can complain. The new device will then change its address. Thus, a network device can get an IP address without a DHCP server. This capability is known as link local addressing.

However, the beauty of Zeroconf does not end at devices and IP addresses. It also allows services to declare their name, type, address, and port number. Thus, the local network is informed ...

Get Advanced Mac OS X Programming: The Big Nerd Ranch Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.