[avahi] example python script

Sebastien Estienne sebastien.estienne at gmail.com
Tue May 8 15:01:14 PDT 2007


Hello

here is is a quick example to browse for _ssh._tcp

On 5/8/07, Jeremy Wilkins <jeb at jeremywilkins.freeserve.co.uk> wrote:
> Hi All,
>
> Is there a super simple (ideally command line) python script I can use
> as an example for querying the avahi daemon.
>
> I'm trying to write a simple python script which will give me a list
> of ssh servers on my local network. I've had a look at avahi-discover
> but I'm not particularly familiar with either pygtk or dbus and trying
> to split out the code I need isn't proving very successful.
>
> thanks
>
> jeb
> _______________________________________________
> avahi mailing list
> avahi at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/avahi
>


-- 
Sebastien Estienne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: browse.py
Type: text/x-python
Size: 5490 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/avahi/attachments/20070509/d5c1f213/browse.py


More information about the avahi mailing list