Initializer

init(name:netService:)

Creates a representation of a MIDI network host based on a network service object.

Declaration

convenience init(name: String, netService: NetService)

Parameters

name

The user-configurable name for the host.

netService

The NetService object that specifies the host.

Return Value

A new MIDINetworkHost instance.

See Also

Creating MIDI Network Hosts

init(name: String, address: String, port: Int)

Creates a representation of a MIDI network host based on IP address and UDP port.

init(name: String, netServiceName: String, netServiceDomain: String)

Creates a representation of a MIDI network host based on a network service name and domain.