DNS-SD handling of silent loss of host
DNS-SD handling of silent loss of host
- Subject: DNS-SD handling of silent loss of host
- From: Tim Hewett <email@hidden>
- Date: Sun, 27 Oct 2013 01:12:53 +0000
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden