Re: [Bonjour] Any mechanism to deal with Aurevoir and re-bonjour?
Re: [Bonjour] Any mechanism to deal with Aurevoir and re-bonjour?
- Subject: Re: [Bonjour] Any mechanism to deal with Aurevoir and re-bonjour?
- From: Stuart Cheshire <email@hidden>
- Date: Thu, 21 Feb 2008 08:40:35 -0800
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:
This email sent to email@hidden