summaryrefslogtreecommitdiff
path: root/src/socket_base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/socket_base.cpp')
-rw-r--r--src/socket_base.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/socket_base.cpp b/src/socket_base.cpp
index ac5a88c..a26c280 100644
--- a/src/socket_base.cpp
+++ b/src/socket_base.cpp
@@ -140,6 +140,11 @@ int zmq::socket_base_t::setsockopt (int option_, const void *optval_,
options.identity.assign ((const char*) optval_, optvallen_);
return 0;
+ case ZMQ_SUBSCRIBE:
+ case ZMQ_UNSUBSCRIBE:
+ errno = ENOTSUP;
+ return -1;
+
default:
errno = EINVAL;
return -1;