[zeromq-dev] IPC and free ports

Pieter Hintjens ph at imatix.com
Mon Oct 15 07:48:55 CEST 2012

On Mon, Oct 15, 2012 at 2:45 PM, Michel Pelletier
<pelletier.michel at gmail.com> wrote:

> BTW, I don't know if this is helpful to you (haven't followed this
> thread very close) but pyzmq has a bind_to_random_port socket method
> which does the same as your loop code below.
> https://github.com/zeromq/pyzmq/blob/master/zmq/core/pysocket.py#L114

CZMQ has the same feature. It's one of the suggested abstractions for
language bindings, see

(It should IMO have been just put into libzmq ages ago but there was
disagreement about its POSIXness.)


More information about the zeromq-dev mailing list