Swift -Does the Bonjour NSNetServiceBrowser have a peer limit larger then MCSession's 8?

180 views Asked by At

Using a MCSession, the session can only have 8 devices connected to it:

Sessions currently support up to 8 peers, including the local peer

I need way more than 8 peers. I came across this apple forums dev thread where someone asked a similar question and an Apple engineer named eskimo said that it can be achieved using NSNetService and its includesPeerToPeer flag or the Bonjour browser.

I've seen a bunch of people ask questions on how to get around the MCSession 8 peer limit but I haven't seen anyone recommend what eskimo recommended. I also haven't found any blog posts with sample code to support what he said. His answer was posted on 6/5/19 so it's very recent.

If this is possible what is the peer limit if there is one?

enter image description here

1

There are 1 answers

0
Lance Samaria On

Using Bonjour there doesn't seem to be a limit. I found the answer here. eskimo insinuated the same thing.

enter image description here