Class

NWBonjourServiceEndpoint

A network endpoint specified as a Bonjour service name, type, and domain.

Declaration

class NWBonjourServiceEndpoint : NWEndpoint

Overview

For example, the Bonjour service MyMusicStudio._music._tcp.local. has the name "MyMusicStudio", the type "_music._tcp", and the domain "local".

Topics

Initializing Bonjour Service Endpoints

init(name: String, type: String, domain: String)

Create an endpoint with a Bonjour service name, type, and domain. All fields must be specified.

Getting Endpoint Properties

var name: String

The endpoint's Bonjour service name.

var type: String

The endpoint's Bonjour service type, such as "_music._tcp".

var domain: String

The endpoint's Bonjour service domain, such as "local".

Relationships

Inherits From

Conforms To