Bonjour: is there support in Juce? Has anyone used it?

After more searching on the forum (which I should’ve done in the first place before resurrecting this thread), I see that the JUCE team likely does not plan to implement a wrapper for Bonjour/Zeroconf network discovery, leaving this to the more heavyweight existing libraries.

If anybody is looking for a solution, JUCE has a basic NetworkServiceDiscovery implementation, but, as it has been pointed out, this is not intended to be the most robust implementation.

I did find that @anthony-nicholls has implemented a JUCE module wrapper for Bonjour:

Additionally, an example of using a Bonjour service in JUCE using Servus was shared by @benkuper:

I have not personally used any of these solutions, but seems there are some great options. I hope this is helpful to anyone else stumbling on this thread.

1 Like