I\'m trying to build a demo project using Bonjour, following this tutorial, but i\'m getting this error:
error: dns_sd.h: No such file or directory
I just had this error on Ubuntu while trying to compile a project. This helped:
sudo apt-get install libavahi-compat-libdnssd-dev
You can find the mDNSResponder daemon code here: http://www.opensource.apple.com/source/mDNSResponder/
You can download a tar file here: http://www.opensource.apple.com/tarballs/mDNSResponder/
You can use Avahi configured with mdnsresponder-compat