[zeromq-dev] identity bug

Pieter Hintjens ph at imatix.com
Tue May 25 12:58:51 CEST 2010


On Tue, May 25, 2010 at 12:46 PM, Martin Sustrik <sustrik at 250bpm.com> wrote:

>> OK, sorry to be pedantic, but do they need to belong to the same pattern?
>
> Yes. REQ is just a wrapper on top of XREQ and REP is just a wrapper on
> top of XREP.

I assume the REQ/REP use case is more common than XREQ/XREP, right?

So if we're looking at new socket type names, we could use:

* ZMQ_RR_CLIENT, ZMQ_RR_SERVER
* ZMQ_RR_CLIENT_ASYNC, ZMQ_RR_SERVER_ASYNC

Which explicitly says what the peers do, and hints that the two pairs
of socket types work together...

-Pieter



More information about the zeromq-dev mailing list