Re: DNS-SD handling of silent loss of host
I don't have the header file in front of me but I believe that's precisely what DNSServiceReconfirmRecord is used for. Sent from my iPhone
On Oct 26, 2013, at 6:12 PM, Tim Hewett <tghewett2@onetel.com> wrote:
I’m using the DNS Service Discovery (Bonjour) C API to support a network application. I have a problem in that if a host disappears silently, e.g. if it panics or if a LAN link to it is lost, DNS-SD continues to list the service, even if the browse is restarted.
I have tested the way AirPlay uses DNS-SD - it also continues to list the service when it is silently lost, however if you then play to a lost AirPlay device it is removed from the DNS-SD list after a short time.
It seems that AirPlay has a way to tell DNS-SD that it knows the device has been lost (no ACKs etc.). I want the same behaviour, is there an API for this? I hoped to find a flag to have the daemon periodically poll servers for existence, there doesn’t seem to be one.
Tim. _______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (Macnetworkprog@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/macnetworkprog/robthedude%40mac.com
This email sent to robthedude@mac.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (Macnetworkprog@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/macnetworkprog/site_archiver%40lists... This email sent to site_archiver@lists.apple.com
participants (1)
-
Robert Newberry