Question

When I close the lid of a notebook and put it into sleep it seems the registered bonjour services from that notebook in the network do not disappear anymore on other machines. Does Bonjour has a timeout I can set somehow?

Was it helpful?

Solution

According to Bonjour's "Frequently Asked Questions" page:

When I disconnect a device from a network, does it remain visible?

Yes, for a while. Eventually, the DNS record reaches its time-to-live interval and disappears. As an app developer, if you connect to a host using Bonjour and the connection fails, you can ask the Bonjour to reconfirm the record. This process is described further in NSNetServices and CFNetServices Programming Guide.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top