[zeromq-dev] automatically choosing a free TCP port

Brian Granger ellisonbg at gmail.com
Mon Mar 15 15:37:46 CET 2010


> However, even in your scenario fixed port numbers would work well. It'll
> take a bit of manual setup, however, that way you'll avoid nasty
> problems when service goes down, is restarted and assigned a different
> port number.

Yes, this would be an issue with zeroconf and 0MQ.  Because 0MQ
sockets don't error when the remote side goes away, your wouldn't know
to re-connect to a diferent port.

Cheers,

Brian

-- 
Brian E. Granger, Ph.D.
Assistant Professor of Physics
Cal Poly State University, San Luis Obispo
bgranger at calpoly.edu
ellisonbg at gmail.com



More information about the zeromq-dev mailing list