Instance Property

address

Returns one of the network addresses of the receiver.

Declaration

var address: String? { get }

Return Value

One of the network address for the receiver. For example, "192.42.172.1" or "fe80::1".

See Also

Getting Host Information

var addresses: [String]

Returns all the network addresses of the receiver.

var name: String?

Returns one of the hostnames of the receiver.

var localizedName: String?

Returns the name used as by default when publishing NSNetServices.

var names: [String]

Returns all the hostnames of the receiver.