Protocol

NetServiceBrowserDelegate

The interface a net service browser uses to inform a delegate about the state of service discovery.

Overview

Delegates of NetServiceBrowser instances optionally implement these methods.

Topics

Using Network Service Browsers

func netServiceBrowser(NetServiceBrowser, didRemoveDomain: String, moreComing: Bool)

Tells the delegate the a domain has disappeared or has become unavailable.

func netServiceBrowser(NetServiceBrowser, didRemove: NetService, moreComing: Bool)

Tells the delegate a service has disappeared or has become unavailable.

func netServiceBrowserWillSearch(NetServiceBrowser)

Tells the delegate that a search is commencing.

func netServiceBrowser(NetServiceBrowser, didNotSearch: [String : NSNumber])

Tells the delegate that a search was not successful.

func netServiceBrowserDidStopSearch(NetServiceBrowser)

Tells the delegate that a search was stopped.

Relationships

Inherits From

See Also

Service Discovery

class NetServiceBrowser

A network service browser that finds published services on a network using multicast DNS.