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

**URL:** https://forum.juce.com/t/bonjour-is-there-support-in-juce-has-anyone-used-it/16373
**Category:** General JUCE discussion
**Created:** [January 11, 2016, 9:25am UTC](https://forum.juce.com/t/bonjour-is-there-support-in-juce-has-anyone-used-it/16373 "2016-01-11T09:25:25Z")
**Posts on this page:** 1
**Showing post:** 9

<div class="post-metadata">

### Author: ![timart](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/timart/32/1119_2.png) [@timart](https://forum.juce.com/u/timart)
#### Post date: [October 22, 2020, 2:03am UTC](https://forum.juce.com/t/bonjour-is-there-support-in-juce-has-anyone-used-it/16373/9 "2020-10-22T02:03:10Z")

</div>

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.

> [@NetworkServiceDiscovery Issues](https://forum.juce.com/t/networkservicediscovery-issues/30625/2):
>
> You’ve hit the nail on the head there - we’re not going to attempt to replace any of the more heavyweight libraries for network discovery. We needed some basic functionality for an internal project and thought it might be useful for JUCE users.

If anybody is looking for a solution, JUCE has a basic `NetworkServiceDiscovery` implementation, but, [as it has been pointed out](https://forum.juce.com/t/networkservicediscovery-issues/30625), this is not intended to be the most robust implementation.

I did find that @anthony-nicholls has implemented [a JUCE module wrapper for Bonjour](https://github.com/Anthony-Nicholls/jucey_bonjour):

> [@NetworkServiceDiscovery::AvailableServiceList](https://forum.juce.com/t/networkservicediscovery-availableservicelist/40226/6):
>
> @Lucretio following this conversation I decided to write a JUCE module wrapper for Bonjour. You can access it here if you’re interested [https://github.com/Anthony-Nicholls/jucey\_bonjour](https://github.com/Anthony-Nicholls/jucey_bonjour) WARNING: I’ve currently only tested this on macOS, for example on Windows it will need the bonjour SDK. I have added a list of work still be done here [https://github.com/Anthony-Nicholls/jucey\_bonjour/issues](https://github.com/Anthony-Nicholls/jucey_bonjour/issues). That being said you can register, discover (browse), and resolve services. Including adding and reading…

Additionally, an example of using a Bonjour service in JUCE using [Servus](https://github.com/HBPVIS/Servus) was shared by @benkuper:

> [@NetworkServiceDiscovery Issues](https://forum.juce.com/t/networkservicediscovery-issues/30625/4):
>
> Hi, just for info, if you’re looking for bonjour/zeroconf implementation in juce, I just finished doing it in my project [https://github.com/benkuper/Chataigne](https://github.com/benkuper/Chataigne) . It is using Servus, and I already compiled the binaries for Win/OSX/Linux. You can check the implementation in [https://github.com/benkuper/Chataigne/blob/master/Source/Module/modules/osc/OSCModule.cpp#L216](https://github.com/benkuper/Chataigne/blob/master/Source/Module/modules/osc/OSCModule.cpp#L216) All library files are in the “External” folder

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.

---

_[View the full topic](https://forum.juce.com/t/bonjour-is-there-support-in-juce-has-anyone-used-it/16373)._
