Programming with Avahi
Avahi bindings for other programming languages are also available. Please see Bindings for more information.
Though no real documentation about the DBUS API is available, you may browse the DBUS introspection data online:
Some examples how to make use of Avahi in your C/C++ application are available in the GIT:
- [source:examples/client-browse-services.c client-browse-services.c]
- [source:examples/client-publish-service.c client-publish-service.c]
Here's a quick guide about RunningAvahiClientAsThread This is especially interesting when you want to integrate Zeroconf support in software that doesn't have a proper event loop.