Zero Configuration Networking: The Definitive Guide. The Definitive Guide - Helion
ISBN: 978-14-493-9079-2
stron: 254, Format: ebook
Data wydania: 2005-12-13
Księgarnia: Helion
Cena książki: 118,15 zł (poprzednio: 137,38 zł)
Oszczędzasz: 14% (-19,23 zł)
It used to be that two laptops, sitting side by side, couldn't communicate with each other; they may as well have been a thousand miles apart. But that was then, before the advent of Zero Configuration Networking technology. This amazing cross-platform open source technology automatically connects electronic devices on a network, allowing them to interoperate seamlessly-without any user configuration. So now you don't have to lift a finger! Needless to say, it has completely changed the way people connect to devices and programs for printing, file sharing, and other activities.
Zero Configuration Networking: The Definitive Guide walks you through this groundbreaking network technology, with a complete description of the protocols and ways to implement network-aware applications and devices.
Written by two Zero Configuration Networking experts, including one of Apple's own computer scientists, the book covers more than just file sharing and printing. Zero Configuration Networking also enables activities such as music and photo sharing and automatic buddy discovery on Instant Messaging applications. In fact, Zero Configuration Networking can be used for virtually any device that can be controlled by a computer. And this handy guide has the inside scoop on all of its capabilities-and how you can easily apply them in your own environment.
For the technically advanced, Zero Configuration Networking: The Definitive Guide examines the three core technologies that make up Zero Configuration Networking: Link-Local Addressing, Multicast DNS, and DNS Service Discovery. It also reviews a series of APIs, including C-API, Java API, CFNetServices, and Cocoa's NSNetServices.
Whether you want to understand how iTunes works, or you want to network a series of laptops and other devices at your office for maximum efficiency, you'll find all the answers in this authoritative guide.
Osoby które kupowały "Zero Configuration Networking: The Definitive Guide. The Definitive Guide", wybierały także:
- Cisco CCNA 200-301. Kurs video. Podstawy sieci komputerowych i konfiguracji. Część 1 790,00 zł, (237,00 zł -70%)
- Sieci komputerowe. Najczęstsze problemy i ich rozwiązania 119,00 zł, (59,50 zł -50%)
- Praktyczne projekty sieciowe 69,00 zł, (34,50 zł -50%)
- Sieci komputerowe. Kurs. Wydanie II 44,90 zł, (22,45 zł -50%)
- Active Directory w systemach wolnego oprogramowania 44,90 zł, (22,45 zł -50%)
Spis treści
Zero Configuration Networking: The Definitive Guide. The Definitive Guide eBook -- spis treści
- Zero Configuration Networking: The Definitive Guide
- SPECIAL OFFER: Upgrade this ebook with OReilly
- A Note Regarding Supplemental Files
- Praise for Zero Configuration Networking: The Definitive Guide
- Foreword
- Preface
- Audience for This Book
- The Zeroconf Technology
- The Zeroconf DNS Service Discovery APIs
- Conventions Used in This Book
- Using Code Examples
- Comments and Questions
- Safari Enabled
- Acknowledgments
- Stuart Cheshire
- Daniel H. Steinberg
- 1. Introduction to Bonjour and Zeroconf
- Service Discovery with Zeroconf
- Service Discovery
- Browse for services
- Available services
- Easy browsing
- Names and Addresses
- Claiming an IP address
- Claiming a name
- Service Discovery
- Replacing the AppleTalk Name Binding Protocol
- Name Services, Not Hardware
- Late Binding
- Finding Named Services
- Ease of Use
- Summary
- Service Discovery with Zeroconf
- 2. IP Addresses Without DHCP
- Obtaining an IP Address
- Manual Assignment
- Entering an IP address
- Choosing an IP address
- Using DHCP
- DHCP-provided address
- DHCP with manual addresses
- Zeroconf Selection of IP Address
- Link-local range
- Choosing a link-local address
- Manual Assignment
- Claiming a Link-Local IP Address
- Probing for Address Availability
- Address Resolution Protocol
- How to probe
- Results of probing
- When to probe
- Announcing
- Announcing your address
- Defending Your Address
- Late Conflicts and Misbehaving Peers
- Probing for Address Availability
- Summary
- Obtaining an IP Address
- 3. Names Without DNS
- A Brief Tour of DNS
- The Namespace
- Administration of DNS
- Resolving Names
- The Zeroconf Namespace
- The local Domain
- Choosing a Name
- Multicast DNS
- The mDNS Multicast Address
- Multicast DNS Queries
- Reducing traffic
- Claiming Your Local Name
- Probing to Check for Uniqueness
- Announcing
- The Structure of the Multicast DNS Message
- Summary
- A Brief Tour of DNS
- 4. Browsing for Services
- Zero Configuration Operation
- Finding Services, Not Devices
- Knowing the Protocol
- Building on DNS
- Browsing for Services
- Service Instance Names
- What You See Is What You Get
- Flagship Service Types
- Subtypes of Service Types
- Late Binding
- DNS-SD TXT Records
- Format for DNS TXT Records
- Content of DNS-SD TXT Records
- Interpreting DNS-SD TXT Records
- Summary
- 5. Service Discovery Beyond the Local Link
- Domain Enumeration
- Advertising Static Services
- Wide-Area Preference Settings
- Hostname
- Registration
- Browsing
- Dynamic DNS Updates
- Dynamic DNS Update Leases (DNS-UL)
- Changes to the message format
- Refresh messages
- Dynamic DNS Update Leases (DNS-UL)
- DNS Long-Lived Queries (DNS-LLQ)
- LLQ Message Format
- LLQ Setup Four-way Handshake
- Step 1: initial request
- Step 2: challenge
- Step 3: challenge response
- Step 4: ACK and answers
- Refreshes and Expiration
- Event Responses
- Identifying Whether the Local DNS Cache Supports LLQ
- NAT Port Mapping Protocol (NAT-PMP)
- Network Address Translation
- Obtaining the Public Address
- Creating and Destroying a Mapping
- Summary
- 6. Getting Started with Bonjour/Zeroconf
- Working with Bonjour/Zeroconf
- Installing Bonjour
- Macintosh
- Windows
- Linux/Unix
- Other platforms
- Understanding Zeroconf
- Installing Bonjour
- The Command-Line Tool
- Browsing
- Registering (Advertising) a Service
- Resolving
- Proxying
- Monitoring
- Summary
- Working with Bonjour/Zeroconf
- 7. Using the C APIs
- Asynchronous Programming Model
- Event Handling with a select() Loop
- Event Callbacks
- Accessing the Underlying Unix Domain Sockets
- DNSServiceRefSockFD()
- DNSServiceProcessResult()
- DNS Service Discovery error codes
- DNSServiceRefDeallocate()
- Using the DNSServiceDiscovery APIs
- Browsing for Services
- DNSServiceBrowse()
- DNSServiceBrowseReply()
- DNSServiceDiscovery flags
- Browsing example
- Resolving a Service
- DNSServiceResolve
- DNSServiceResolveReply
- Resolution example
- Registering a Service
- DNSServiceRegister
- DNSServiceRegisterReply
- DNSServiceAddRecord
- DNSServiceUpdateRecord
- DNSServiceRemoveRecord
- Registration example
- Enumerating Domains
- DNSServiceEnumerateDomain
- DNSServiceDomainEnumReply
- Enumeration example
- Other Operations
- Browsing for Services
- 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
- The DNSSD Class
- The Listener Interfaces
- BaseListener
- DNSSDException
- Using the APIs
- Registering a Service
- The DNSSD.register() call
- The RegisterListener
- Complete TestRegister program listing
- Testing the registration program
- Browsing for Services
- Resolving a Service
- Registering a Service with DNS TXT Record Attributes
- Adding, Updating, and Removing Additional Records
- Registering a Service
- An Extended Example: Tic-Tac-Toe
- Understanding the APIs
- 9. Using the CFNetwork and Cocoa APIs
- Using the CFNetServices API
- Advertising a Service in CFNetServices
- Browsing in CFNetServices
- Resolving in CFNetServices
- Using the NSNetServices API in Cocoa
- Advertising a Service in Cocoa
- Browsing in Cocoa
- Resolving in Cocoa
- A Cocoa Bonjour Extended Example
- Creating the GUI
- The Generated MoodBeacon and MoodBrowser Header Files
- Advertising the Service with MoodBeacon
- Finding and Using the Service with MoodBrowser
- Using the CFNetServices API
- 10. Ruby, Python, and Other Languages
- Ruby
- Registering a Service in Ruby
- Browsing for Services in Ruby
- Resolving a Service in Ruby
- Python
- Registering a Service in Python
- Browsing for Services in Python
- Resolving a Service in Python
- Embedded Responders
- Ruby
- Index
- About the Authors
- Colophon
- SPECIAL OFFER: Upgrade this ebook with OReilly