[avahi] 1 avahi_simple_poll_loop for 2 (or more) servicetype?

Florian Erfurth f.erfurth at reel-multimedia.com
Fri Apr 3 00:13:28 PDT 2009

Lennart Poettering schrieb:
> On Tue, 31.03.09 15:13, Florian Erfurth (f.erfurth at reel-multimedia.com) wrote:
>> Now I've got a question. 
>> Is this possible to do both in same poll_loop? I've tried 
>> avahi_service_browser_new() with "_box*._tcp", but it didn't work. :(
>> Do I need 2 different poll_loop (one for "_boxMySQL._tcp" and other for 
>> "_boxAVG._tcp")?
> You can add as many browsers/resolvers to a single event loop object as
> you wish. Use one browser per service type.
I found out that from avahi-browse.c. But thank now I know I'm right 
with last mail.
Thank you! :)
cu Floh

More information about the avahi mailing list