[avahi] how to browse only two (or all) service types
Trent Lloyd
lathiat at bur.st
Fri Jul 31 01:05:45 PDT 2009
Hi Ali,
On 31/07/2009, at 3:39 PM, Ali Mazhar wrote:
>
>
> Hi,
>
> I am writing a Qt application and I need to display data related to
> "_workstation._tcp" and "_vlc_http._tcp" service types only. Is it
> possible to achieve this using one browser object? If this is not
> possible then how can I browse for all service types using one
> browser object i.e what to send in the 4th argument of
> "avahi_service_browser_new()" function?
A browser is for a given service type.. so you will need to
instantiate two if you wish to lookup both workstation and vlc services.
Is there a reason you are looking up workstation services? This will
typically be pretty noisy as everyone advertises them.
Thanks,
Trent
>
> Any quick help will be highly appreciated.
>
> BR, AM
>
> _________________________________________________________________
> Windows Live™ Hotmail®: Celebrate the moment with your favorite
> sports pics. Check it out.
> http://www.windowslive.com/Online/Hotmail/Campaign/QuickAdd?ocid=TXT_TAGLM_WL_QA_HM_sports_photos_072009&cat=sports
> _______________________________________________
> avahi mailing list
> avahi at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/avahi
>
More information about the avahi
mailing list