[zeromq-dev] XREQ<->XREP vs REQ<->XREP: difference in message
Alexey Ermakov
zee at technocore.ru
Mon Aug 16 15:16:08 CEST 2010
Hi everyone,
I've been experimenting with REQ<->XREP/XREQ<->XREP sockets and have a
question about identities. If I connect a REQ socket to an XREP one, on the
XREP side I get 3 messages: <identity> <empty> <data>. If, however, I do the
same with an XREQ socket on the cliend side, I only get 2 messages
(<identity> <data>). This looks like a bug, because as I understand, the
replying socket shouldn't really know what type of socket connects to it. Am
I correct in this assumption or it's a misunderstanding on my part?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100816/e4e68516/attachment.htm>
More information about the zeromq-dev
mailing list