[zeromq-dev] ZMQ_STREAM interraction with ZMTP ?

Laurent Alebarde l.alebarde at free.fr
Fri Dec 6 16:26:19 CET 2013

Here is my test code (one single commit in my master) : 

It implements:
Client (DEALER, CURVE) ---- (STREAM) Proxy (STREAM) ----- (CURVE, 
DEALER) Worker

I have simplified it as most as possible. So only 1 client and 1 server 
are possible.

What I can observe is that :
1) the curve_client_t object doesn't receive the curve keys set with 
2) an unexpected null_client_t object is created

So, I wonder if I use some functions with the STREAM socket I should not 
use, and that activates the stream_engine ?

Le 06/12/2013 14:29, Pieter Hintjens a écrit :
> On Fri, Dec 6, 2013 at 2:21 PM, Laurent Alebarde <l.alebarde at free.fr> wrote:
>> It is not even clear to me and cannot be seen with the debugger. I can only
>> make deductions from the assertion that the curve socket cannot send a NULL
>> greeting, then I assume that either it is the STREAM socket which sends it,
>> either it is a fake of the curve socket when it receives something.
> This makes zero sense to me, sorry.
> The curve socket can only send curve commands as defined in the CURVE RFC.
> The stream socket has to read and parse these commands.
> Why on earth are you looking at code or debugging it? The facts here
> apply only to the protocol, i.e. what is sent on the wire.
> -Pieter
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20131206/b2546d40/attachment.htm>

More information about the zeromq-dev mailing list