Contents

init(name:)

Returns a host with a specific name.

Declaration

convenience init(name: String?)

Parameters

  • name:

    Name of the host to look up. Can be either a simple hostname, such as "sales", or a fully qualified domain name, such as "sales.anycorp.com".

Return Value

The host named hostname.

See Also

Creating Hosts