Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bonjour] Any mechanism to deal with Aurevoir and re-bonjour?



Hamish Allan <email@hidden> wrote:

>It is the responsibility of the service publisher (i.e., the remote
>Mac) to detect changes in its own network interface, and send mDNS
>updates accordingly.

Application code does not need to do this (and should not). The Bonjour 
APIs handle network changes for you automatically.

>Try running "dns-sd -B _workstation._tcp ." from the local command
>line and see if it does anything when the remote address is changed.

Nothing should happen.

No new service has appeared. No service has disappeared.

All that's happened is that a service has changed address, but it's still 
there.

You don't care what address a service has until you resolve it.

Try using "dns-sd -L" if you want to resolve a service to host:port, and 
"dns-sd -Q" to resolve a hostname to its IP address.

Stuart Cheshire <email@hidden>
 * Wizard Without Portfolio, Apple Computer, Inc.
 * www.stuartcheshire.org

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.