[zeromq-dev] Binding to TCP port 0
Pierre Ynard
linkfanel at yahoo.fr
Wed Jan 25 18:22:55 CET 2012
> If you're using the high level C binding this works. It's not a core
> libzmq functionality. Some other bindings may also provide it.
>
> You can check the CZMQ code that does this:
> https://github.com/zeromq/czmq/blob/master/src/zsocket.c
Thanks, but I don't really want to write an ugly for loop to (badly)
reinvent a feature of the socket API. Also this code ignores the OS
settings for local port assignation.
Why is it disabled in libzmq?
--
Pierre Ynard
"Une âme dans un corps, c'est comme un dessin sur une feuille de papier."
More information about the zeromq-dev
mailing list