Initializer

init(address:)

Returns the NSHost with the Internet address address.

Declaration

convenience init(address: String)

Parameters

address

Network address to look up. For example, "127.0.0.1" or "fe80::1".

Return Value

The host for address.

See Also

Creating Hosts

class func current() -> Self

Returns an NSHost object representing the host the process is running on.

init(name: String?)

Returns a host with a specific name.