Bonjour -how to set a maximum discovery range limit

I'm using Bonjour, NWConnection, NWBrowser, and NWListener along with the NearInteraction framework. The NearInteraction framework works best when the devices are within 9 meters of each other.

NI works best when the peer devices are:

Within nine meters of each other.

Is there anyway that I can set Bonjour to not discover devices beyond or only within 9 meters?

Accepted Reply

Is there anyway that I can set Bonjour to not discover devices beyond
or only within 9 meters?

No. You can reasonably distinguish between local and wide-area Bonjour but local Bonjour will always extend as far as the interface’s multicast domain.

Share and Enjoy

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

Replies

Is there anyway that I can set Bonjour to not discover devices beyond
or only within 9 meters?

No. You can reasonably distinguish between local and wide-area Bonjour but local Bonjour will always extend as far as the interface’s multicast domain.

Share and Enjoy

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