[zeromq-dev] Raw protocol spec for REQ/REP socket?
Martin Sustrik
sustrik at 250bpm.com
Tue Apr 26 09:23:58 CEST 2011
Hi Pieter,
> It would be really useful to get these fragmented docs into a single
> page for TCP interoperability. I'm happy to help edit that if you
> collect the pieces.
The protocol is likely to change in the future, however, if you believe
it's worth documenting 2.x protocol, it consists from 2 pieces:
1. First message sent by each party on a connection is identity. Empty
message means no explicit identity was specified. This point is specific
to TCP and IPC transports. It applies to all socket types.
2. REQ/REP messages consist of a list of labels (each label is a message
part) followed by an empty message part. All remaining message parts are
user data.
Martin
More information about the zeromq-dev
mailing list