Contents

netService(_:didNotResolve:)

Informs the delegate that an error occurred during resolution of a given service.

Declaration

optional func netService(_ sender: NetService, didNotResolve errorDict: [String : NSNumber])

Parameters

Discussion

Clients may try to resolve again upon receiving this error. For example, a DNS rotary may yield different IP addresses on different resolution requests. A common error condition is that no addresses were resolved during the timeout period specified in resolve(withTimeout:).

See Also

Using Network Services