zeromq / zmqpp

0mq 'highlevel' C++ bindings
http://zeromq.github.io/zmqpp
Mozilla Public License 2.0
439 stars 195 forks source link

Feature/vector prepend prepop frames #31

Closed benjamg closed 10 years ago

benjamg commented 10 years ago

Fix of the eintr issue leaving half read messages in the socket buffer. Support for push/pop front (and corresponding push/pop back that map onto the old stream system)

There is some duplicate code between the steam conversions and the push_front conversions that really should be unified at some point.

LindleyF commented 10 years ago

I'm getting a few compile errors when I try to build this with CONFIG=debug.

include "cassert" is needed in frame.cpp

message.cpp is checking .sent in an assert, when it should be .is_sent()

Please test pull requests using all three build targets before merging in the future.