Hello, I want to bind a zeromq socket to an available TCP port assigned by the OS. However the standard way of doing this, binding to port 0, fails with EINVAL. Indeed, there is a check in the code saying that 0 is not a valid port. Is there any reason for this? Is there another way of doing this?
Also it would be useful to have a way to fetch the port number that was assigned, although personally I can live without it. Regards, -- Pierre Ynard "Une âme dans un corps, c'est comme un dessin sur une feuille de papier." _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
