Local Network Privacy FAQ-14

This thread has been locked by a moderator; it no longer accepts new replies.
This post is part of the Local Network Privacy FAQ.

How do I map my Multipeer Connectivity service type to an entry in the Bonjour services property?


To form the value for the Bonjour services property (NSBonjourServices), take your Multipeer Connectivity service type and add a leading underscore (_) and trailing ._tcp. For example, if you pass waffle-varnish to the serviceType parameter of init(serviceType:discoveryInfo:session:), add _waffle-varnish._tcp.

Back to the FAQ
Boost
Local Network Privacy FAQ-14
 
 
Q