[zeromq-dev] Binding to TCP port 0

Pieter Hintjens ph at imatix.com
Thu Jan 26 17:42:55 CET 2012


On Thu, Jan 26, 2012 at 8:57 AM, Martin Lucina <martin at lucina.net> wrote:

> zmq_bind(foo, "tcp://XXXX:*");    // "tcp://*:*" if you want INADDR_ANY
> zmq_bind(foo, "ipc://*");
> The use of "*" seems fairly uncontroversial -- note that this means an
> ipc:// endpoint cannot therefore contain "*" which is an (albeit niche)
> backward-incompatible change.

This is also what we did for CZMQ. Consistent and unsurprising.

+1

-Pieter



More information about the zeromq-dev mailing list