[zeromq-dev] ZMQ occupies random TCP ports on Windows

Martin Sustrik sustrik at 250bpm.com
Wed Sep 28 12:45:35 CEST 2011

On 09/28/2011 11:41 AM, Michał Sznajder wrote:

> Is fixing this port really an option? I got a feeling that mailbox_t
> is used quite interdependently in many places of code for different
> actions.

Yes, I think its doable.

Actually it should be pretty easy:

1. Enclose the signaler_t::make_fdpair function in a critical section so 
that two simulataneous calls don't collide.

2. Use a fixed port number rather than OS-assigned one.

Would you give it a try? If not, I'll add it to my TODO list.


More information about the zeromq-dev mailing list