[zeromq-dev] DEALER/REP problem
Pieter Hintjens
ph at imatix.com
Thu Oct 13 22:25:01 CEST 2011
On Thu, Oct 13, 2011 at 2:55 PM, Whit Armstrong
<armstrong.whit at gmail.com> wrote:
> I thought DEALER/REP was a valid socket combo. Do I need a ROUTER or
> REQ somewhere in the chain to make REP happy?
You can use DEALER / REP if you construct a proper envelope for the
REP socket to work with. This is explained in the Guide, Ch2. It's a
little tricky. The REP socket expects an envelope (0 or more frames)
followed by a null frame, followed by the payload.
-Pieter
More information about the zeromq-dev
mailing list