site_archiver@lists.apple.com Delivered-To: Macnetworkprog@lists.apple.com User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 The search is never finished until you decide it is by cancelling the browse. Bonjour sends multicasts queries with an exponential backoff, up to some maximum amount of time. When a Bonjour service is advertised/registered on an interface, a multicast is sent out as well. As long as you have that browser open, Bonjour will keep watching for a matching service to appear, either as a response to one of the multicasts it sends or through an announcement sent by a device arriving on the networking or starting the service. The only alternative is a timeout and timeouts are bad. If I use -[NSNetServiceBrowser searchForServicesOfType:inDomain:] and there happen to be no services of the specified type, my delegate gets netServiceBrowserWillSearch:, but nothing else. How can I know when the search is finished? _______________________________________________ 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