[avahi] Python and browsing for services

Lennart Poettering lennart at poettering.net
Fri Aug 22 07:09:21 PDT 2008


On Fri, 22.08.08 13:31, Olivier R-D (o.r-d at laposte.net) wrote:

> > I want to write a python program which browses for avahi services,
> > dumps them and quits.
> 
> search on on the net for pybonjour. It is just one file and quite
> easy to understand. I remember doing exactly that one year ago.

Please note that Bonjour does not support anything like
ALL_FOR_NOW. Nathan's second question about knowing when he has "all
services" is thus only implementable in very dirty ways via the
Bonjour API.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4


More information about the avahi mailing list