[zeromq-dev] Socket type checking

Pieter Hintjens ph at imatix.com
Sun Nov 13 22:47:43 CET 2011


On Sun, Nov 13, 2011 at 2:28 PM, Paul Colomiets <paul at colomiets.name> wrote:

> Sure, introduce another message flag. Messages that contain it can be
> sent at any time, and checked against topology id set as socket
> option, each time such message comes in.

Nice idea. Old code may have to be modified to ignore messages with
unknown flags. That is a simple enough change.

I'd avoid using UUIDs to represent constants, this is a hack. The
protocol should be explicit about things.

-Pieter



More information about the zeromq-dev mailing list