searchForRegistrationDomains()
Initiates a search for domains in which the host may register services.
Declaration
func searchForRegistrationDomains()Discussion
This method returns immediately, sending a netServiceBrowserWillSearch(_:) message to the delegate if the network was ready to initiate the search. The delegate receives a subsequent netServiceBrowser(_:didFindDomain:moreComing:) message for each domain discovered.
Most network service browser clients do not have to use this method—it is sufficient to publish a service with the empty string, which registers it in any available registration domains automatically.