Instance Method

searchForRegistrationDomains

Initiates a search for domains in which the host may register services.

Declaration

- (void)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.

See Also

Using Network Service Browsers

- searchForBrowsableDomains

Initiates a search for domains visible to the host. This method returns immediately.

- searchForAllDomains

Initiates a search for all domains that are visible to the host.

- searchForServicesOfType:inDomain:

Starts a search for services of a particular type within a specific domain.

- stop

Halts a currently running search or resolution.