DNS-SD handling of silent loss of host
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/site_archiver%40lists... This email sent to site_archiver@lists.apple.com
participants (1)
-
Tim Hewett