summaryrefslogtreecommitdiff
path: root/src/sub.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-01-07 12:59:48 +0100
committerMartin Sustrik <sustrik@250bpm.com>2011-01-07 12:59:48 +0100
commit8e0049e2fb60d31c07786fffe39fdc9c63369dfa (patch)
tree10bff86ee2c89b986899b593074509eb1e7a4759 /src/sub.hpp
parent08cd2ce05da74143b6154f7d665756870077c38d (diff)
Disable sending messages on SUB socket
The ability was inherited from XSUB socket. Now it's properly disabled. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/sub.hpp')
-rw-r--r--src/sub.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sub.hpp b/src/sub.hpp
index 44fbc9c..6ed2c12 100644
--- a/src/sub.hpp
+++ b/src/sub.hpp
@@ -35,6 +35,8 @@ namespace zmq
protected:
int xsetsockopt (int option_, const void *optval_, size_t optvallen_);
+ int xsend (zmq_msg_t *msg_, int options_);
+ bool xhas_out ();
private: