[avahi] use avahi in C++

Leonardo Gabrielli l.gabrielli at univpm.it
Mon Jun 24 09:38:47 PDT 2013


Hello list,
I want to implement device discovery inside Jack, to connect audio 
signals between different machines.
I need to publish and browse for a service, and I want to use avahi. 
Since my codebase is C++, I started porting the client-browse-services 
and client-publish-services to C++, which will take time (and I'm not 
sure if it's of any use).

Maybe another way to do the work is using the avahi-daemon which already 
runs on my system, but how do I talk to it from my C++ application? I 
can't find any direction on the web. How are regular application (like 
these http://www.avahi.org/wiki/MultimediaAvahiApplication) using the 
avahi-daemon? Or do they link a compiled avahi library and execute calls 
to its functions?

Kind regards,
Leonardo




More information about the avahi mailing list