Contents

init(name:netService:)

Creates a host with the specified name and net service.

Declaration

convenience init(name: String, netService: NetService)

Parameters

  • name:

    The host name.

  • netService:

    The net service.

See Also

Creating Network Hosts