Martin Sustrik | 1 Sep 2010 10:50
Gravatar

Re: What is the best 0MQ socket configuration for an event server?

On 08/31/2010 08:48 PM, John McLaughlin - PTIR wrote:
> Thank you Martin.  Yes, I was following that thread and agree it would
> address my need.  However, with a dynamically assigned (and short-lived)
> PUB/SUB Port# I can achieve the same thing at the application level.
>
> Can you see any problems with having short-lived (minutes) PUB sockets
> that are auto-assigned an available port, and that can be queried for
> the actual port #?  They would need a "destructor" as well (though this
> might be simply closing them).

Sure, you can do that on top of 0MQ.

Martin

Gmane