Description
Book SynopsisOffering an insider's perspective, this book aims to take the mystery out of networking electronic device. It covers various networking activities, including the sharing of files, music and photos. It examines the three core technologies that make up Zero Configuration Networking: Link-Local Addressing, Multicast DNS, and DNS Service Discovery.
Table of ContentsForeword Preface 1. Introduction to Bonjour and Zeroconf Service Discovery with Zeroconf Replacing the AppleTalk Name Binding Protocol Summary 2. IP Addresses Without DHCP Obtaining an IP Address Claiming a Link-Local IP Address Summary 3. Names Without DNS A Brief Tour of DNS The Zeroconf Namespace Multicast DNS Claiming Your Local Name The Structure of the Multicast DNS Message Summary 4. Browsing for Services Zero Configuration Operation Finding Services, Not Devices Knowing the Protocol Building on DNS Late Binding DNS-SD TXT Records Summary 5. Service Discovery Beyond the Local Link Domain Enumeration Advertising Static Services Wide-Area Preference Settings Dynamic DNS Updates DNS Long-Lived Queries (DNS-LLQ) NAT Port Mapping Protocol (NAT-PMP) Summary 6. Getting Started with Bonjour/Zeroconf Working with Bonjour/Zeroconf The Command-Line Tool Summary 7. Using the C APIs Asynchronous Programming Model Event Handling with a select( ) Loop Using the DNSServiceDiscovery APIs Event Handling with Cocoa RunLoop or Core Foundation CFRunLoop Event Handling with Microsoft Windows GetMessage( ) Message Loop Event Handling with Microsoft Windows MFC Event Handling with Independent Threads Summary 8. Using the Java APIs Understanding the APIs Using the APIs An Extended Example: Tic-Tac-Toe 9. Using the CFNetwork and Cocoa APIs Using the CFNetServices API Using the NSNetServices API in Cocoa A Cocoa Bonjour Extended Example 10. Ruby, Python, and Other Languages Ruby Python Embedded Responders Index