[zeromq-dev] Easy way to send/recv messages?

Martin Sustrik sustrik at 250bpm.com
Tue Aug 3 12:00:09 CEST 2010


Pieter Hintjens wrote:
> On Tue, Aug 3, 2010 at 11:41 AM, Matt Weinstein
> <matt_weinstein at yahoo.com> wrote:
> 
>> It's pretty early in the morning here, but are you just proposing copy
>> wrappers?
> 
> Yes, but for maximum benefit these should be the default send/recv
> calls, because that is what people naively expect, and then zerocopy
> can be a more complex API for people with more experience and higher
> demands.

Yes. Using POSIX socket API is important to keep the learning curve 
completely flat.

However, it can be done in C++ API easily by overloading send and recv 
functions (thaks god for the polymophism!)

Martin




More information about the zeromq-dev mailing list