[zeromq-dev] basic_istream/ostream
Pieter Hintjens
ph at imatix.com
Mon Aug 2 20:33:02 CEST 2010
On Mon, Aug 2, 2010 at 3:44 PM, Matt Weinstein <matt_weinstein at yahoo.com> wrote:
>> > socket >> msgs
>> socket << 1 << "abc" << 2 << endm;
> ...
> I'm already doing something like this with a simple flush class...
There are great advantages in using a consistent API semantic across
all languages and having that API looks like sockets.
At the same time, this kind of syntax is lovely. Are there classes
that do this with standard TCP sockets already? That would allow this
to be cleanly layered on top of 0MQ's socket API.
> Perhaps it would be possible to add zmq_send_nomore(), but I can't find the
> "wire protocol" post on the site ?
The basic single-part protocol is documented at rfc.zeromq.org. I'm
going to document the multipart protocol(s) later.
-Pieter
More information about the zeromq-dev
mailing list