[zeromq-dev] ZMQ_STREAM interraction with ZMTP ?

Laurent Alebarde l.alebarde at free.fr
Fri Dec 6 12:59:03 CET 2013


Hi Devs,

I have connected a CURVE-DEALER socket with a ZMQ_STREAM one. Since 
ZMQ-STREAM is not a mechanism declared in stream_engine, I don't expect 
it creates any mechanism object.

But, if I have not make mistakes, when the CURVE-DEALER socket sends its 
greeting, which includes "CURVE", then stream_engine creates an 
unexpected curve_client_t object. I assume this object is related to the 
ZMQ-STREAM socket since the options are the default ones, while I 
defined an identity to the CURVE-DEALER socket.

On the other side, a "NULL" greeting is received, I assume onto the 
CURVE-DEALER socket from the ZMQ-STREAM socket, which is also not 
expected I think.

test_stream.cpp passes but does it pass only because it is a NULL to 
STREAM communication ?

If this is true, I think it is not a desirable behaviour.

Are you aware of that ? Do you confirm ? What do you think about it ?

Cheers,


Laurent.

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


More information about the zeromq-dev mailing list