[zeromq-dev] Socket type checking
Ilja Golshtein
ilejncs at narod.ru
Sat Nov 12 09:12:13 CET 2011
Martin,
assuming you are asking about app level check,
the simplest way is to
* introduce socket option identifies a socket
* allow to sockets without any identity (at both sides) to be connected
===== In primitive and slightly impolite way ================
- socket type check is useless at all
- app level matching check could be useful and should be implemented at app level
Anyone who really care can create a wrapper provide this and any additional functionality -
identities could be matched in complex way, it is possible to have several identities per endpoint,
whatever. Any attempt to put this matching engine inside 0mq does not make sense.
========== end of impolite section =====================
12.11.2011, 11:16, "Martin Sustrik" <sustrik at 250bpm.com>:
> On 11/12/2011 08:15 AM, Martin Sustrik wrote:
>
>> We have no good idea how to solve the "breakfast" problem, so let's move
>> the "breakfast" discussion to the SP mailing list and focus on the "egg"
>> here, namely on what kind of type checking we are able to provide today
>> and in a backward compatible way.
>
> Anyone any ideas about how to do this in a backward compatible way btw?
>
> Martin
> _______________________________________________
> 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