[Twisted-Python] Twisted apps + zeroconf, anyone?

Brian Granger ellisonbg.net at gmail.com
Thu Dec 27 11:10:43 MST 2007


A while back I implemented a wrapper around pyzeroconf that integrated
it into the twisted event loop.  While we never did anything with
this, it seemed to work fine.  The design is not wonderful, but it
does show how everything can be done.  Here it is:

http://projects.scipy.org/ipython/ipython/browser/ipython/sandbox/bgranger/bonjour/twistbonjour.py

At some point we might end up using this - let us know if it is
helpful or worth putting somewhere more public.

Brian

On Dec 26, 2007 5:31 AM, Jarek Zgoda <jarek.zgoda at sensisoft.com> wrote:
> I'd like to add auto-discovery feature to my (Twisted) application and I
> thought I'll use zeroconf to advertize the service to clients in local
> network. I decided on zeroconf, because the app is a webservice that has to
> be accessible to multitude of various clients. Unfortunately, the only one
> library I found barely usable with Twisted is PyZeroconf (the other is
> avahi, but it seems too tightly bound to gobject to be usable with
> Twisted). Is this all or I do not know how to use google?
>
> Anybody can share any hints on this? Is this feasible idea or there are
> better ways to achieve what I want?
>
> Cheers
> Jarek Zgoda
>
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>




More information about the Twisted-Python mailing list