[avahi] Running a service publisher app and service browser app on the same host

Jim Hodapp james.hodapp at gmail.com
Mon Nov 17 13:40:40 PST 2008


Hi,

     I am attempting to write 2 applications for an embedded device  
(so I'm using avahi-core and avahi-common) and would like to publish a  
service in one application and browse and display all services from  
like devices on the local network in the other application. However,  
when I start up both of my applications (which need to run at the same  
time), one of them complains about there being another mDNS stack  
running already and this is not advised.

Is it not possible to do what I am trying to accomplish in a safe way?

Is there a way to *share* this stack between the two applications to  
make this safe?

Thanks,

Jim Hodapp


More information about the avahi mailing list