Valid NWListener application, and transport, protocol strings

In this thread, eskimo posted code containing the line:

listener.service = .init(type: "_ssh._tcp")

I see in this document the type parameter is a service string, where its first substring identifies the application protocol, and its second identifies the transport protocol.

Where is it documented what the valid NWListener.listener.service string options are for these application, and transport, protocols?

Where is it documented what the valid NWListener.listener.service string options are for these application, and transport, protocols? Bonjour

This format is defined by Internet RFCs. Start with RFC 6763 DNS-Based Service Discovery.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Valid NWListener application, and transport, protocol strings
 
 
Q