[zeromq-dev] Raw protocol spec for REQ/REP socket?

Gary Shi garyshi at gmail.com
Mon Apr 25 12:33:00 CEST 2011


I want to implement part of the ZeroMQ protocol so I can write
programs interact with it,
on platforms where ZeroMQ is not available. And I found REQ/REP
packets different with
2/SPB: both side make a first connection, sending 1 packet of
\x01\x00; close it then send
REQ/REP messages, but all messages are prefixed by \x01\x01. What's
the use of them?
I also checked PUB messages, they're not prefixed. Is it safe to just
append \x01\x01 in
front of the SPB messages to talk to a ZeroMQ REP server?

--
regards,
Gary Shi



More information about the zeromq-dev mailing list