On Mon, Oct 15, 2012 at 2:45 PM, Michel Pelletier <[email protected]> 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 http://www.zeromq.org/topics:binding-abstractions. (It should IMO have been just put into libzmq ages ago but there was disagreement about its POSIXness.) -Pieter _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
