[zeromq-dev] basic_istream/ostream
Ben Kloosterman
bklooste at gmail.com
Mon Aug 2 02:26:49 CEST 2010
+1
It would be better if it can do this
socket >> data
the operator then checks the size of the data , creates a message and sends
it this is a better interface as te whole messaging system is abstracted
Ben
From: zeromq-dev-bounces at lists.zeromq.org
[mailto:zeromq-dev-bounces at lists.zeromq.org] On Behalf Of Brian Granger
Sent: Monday, August 02, 2010 8:13 AM
To: 0MQ development list
Subject: Re: [zeromq-dev] basic_istream/ostream
On Sun, Aug 1, 2010 at 2:00 PM, Martin Sustrik <sustrik at 250bpm.com> wrote:
Matt Weinstein wrote:
> As an aside, I just can't wait to write:
>
> socket >> msgs
In theory, each << could create a new message part. Then there could be
a special endm (end of message operator) that would write an empty
message with MORE flag not set:
socket << 1 << "abc" << 2 << endm;
+1
Just an idea. Maybe even not a particularly good one :)
Martin
_______________________________________________
zeromq-dev mailing list
zeromq-dev at lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
--
Brian E. Granger, Ph.D.
Assistant Professor of Physics
Cal Poly State University, San Luis Obispo
bgranger at calpoly.edu
ellisonbg at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100802/7675542c/attachment.htm>
More information about the zeromq-dev
mailing list