Instance Property

hostName

A string containing the DNS hostname for this service.

Declaration

var hostName: String? { get }

Discussion

This value is nil until the service has been resolved (when addresses is non-nil).