[zeromq-dev] Socket type checking
Ilja Golshtein
ilejncs at narod.ru
Fri Nov 11 15:16:34 CET 2011
Hello.
I am sorry to ask, but is this type check really useful?
Assuming the goal is to make 0mq more user friendly and to reduce chances of erroneous setup,
I suggest we should introduce socket names (identities is much better word, but
is it already in use) and check this names are matched.
Type match is too weak even for sanity check and it could be implemented only because
it is not too difficult ...
11.11.2011, 12:04, "Pieter Hintjens" <ph at imatix.com>:
> On Fri, Nov 11, 2011 at 4:47 PM, Pieter Hintjens <ph at imatix.com> wrote:
>
>> We have two specific problems:
>> 1. Can 0MQ sockets check the type of their 0MQ peers and reject peers with
>> incompatible types?
>> 2. Can this check be done while maintaining interoperability with old code?
>
> Sorry if I appear rude. I'm just asking for a proper design discussion
> on the protocol, which should IMO solve problems specific to the
> protocol, and not layers above or below. Specifically, TCP in this
> case.
>
> The lack of such a discussion has, I think we realize now, crippled
> our ability to introduce new features experimentally in 0MQ. I'm
> hoping a proper design discussion that focuses on realistic goals will
> lead to a proper and backwards-compatible evolution of ZMTP.
>
> -Pieter
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
--
Best regards,
Ilja Golshtein.
More information about the zeromq-dev
mailing list