From ed291b02516ac5c9fe01f328d505305d36fe6319 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Sat, 27 Mar 2010 09:24:38 +0100 Subject: multi-part messages work with PUB/SUB --- src/sub.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/sub.hpp') diff --git a/src/sub.hpp b/src/sub.hpp index 84fab5e..d630731 100644 --- a/src/sub.hpp +++ b/src/sub.hpp @@ -68,6 +68,10 @@ namespace zmq bool has_message; zmq_msg_t message; + // If true, part of a multipart message was already received, but + // there are following parts still waiting. + bool tbc; + sub_t (const sub_t&); void operator = (const sub_t&); }; -- cgit v1.2.3