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/fq.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/fq.hpp') diff --git a/src/fq.hpp b/src/fq.hpp index 6b6561e..28217ec 100644 --- a/src/fq.hpp +++ b/src/fq.hpp @@ -55,6 +55,10 @@ namespace zmq // Index of the next bound pipe to read a message from. pipes_t::size_type current; + // If true, part of a multipart message was already received, but + // there are following parts still waiting in the current pipe. + bool tbc; + fq_t (const fq_t&); void operator = (const fq_t&); }; -- cgit v1.2.3