[zeromq-dev] the empty message between the identity and the payload seems to be missing.
Pieter Hintjens
ph at imatix.com
Thu Oct 21 12:36:46 CEST 2010
Hi Burak,
Please read Ch3 of the Guide, especially this section:
http://zguide.zeromq.org/chapter:all#toc41
The precise envelope you need depends on the receiving socket. A REP
socket expects an address stack delimited by an empty part, followed
by message body parts. A REQ socket expects an empty part followed by
message body parts. XREQ and XREP do not have particular requirements
for the messages they read off the wire.
-Pieter
On Thu, Oct 21, 2010 at 11:58 AM, Burak Arslan
<burak.arslan at arskom.com.tr> wrote:
> hello,
>
> i've created the following gist to illustrate the problem:
> http://gist.github.com/638187
>
> this is for zeromq 2.0.10.
>
> did i find a bug, or am i missing something?
>
> btw, the ZmqExtendedMessage class could be useful to others. would you
> think of including it inside the zmq distribution somewhere?
>
> best regards,
> burak
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
--
-
Pieter Hintjens
iMatix - www.imatix.com
More information about the zeromq-dev
mailing list