Thank you for the quick reply.
Unfortunately I don't quite understand how I would do this.
I assume I would still use a NWListener with a NWListener.Service to advertise my service over Bonjour?
But even if I don't need to resolve the hostname and instead hardcode it (in my case as "_aircam._udp.local."), I'd still need to specify a port to use .hostPort(), right?
And NWListener doesn't allow me to choose my own port as far as I can tell.
I assume nw_group_descriptor_allows_endpoint is a closed source function?
Topic:
App & System Services
SubTopic:
Networking
Tags: