[zeromq-dev] automatically choosing a free TCP port

David Robinson zxvdr.au at gmail.com
Mon Mar 15 15:39:50 CET 2010

> Using avahi with 0MQ would be quite nice.  The Python bindings have
> the ability to bind to a random port in a range:
> http://github.com/ellisonbg/pyzmq/blob/master/zmq/_zmq.pyx#L367
> I would love to have Avahi integration in the Python bindings and have
> worked with zeroconf a little bit before.  Let me know if you want to
> pursue this.

Yep, I'll pursue it a bit more. I'll be using the Python bindings
too... and I didn't realise you'd added an option to select a random
port - that's more incentive for me to upgrade and start using the new


More information about the zeromq-dev mailing list