summaryrefslogtreecommitdiff
path: root/src/socket_base.cpp
diff options
context:
space:
mode:
authormalosek <malosek@fastmq.com>2009-09-10 12:04:26 +0200
committermalosek <malosek@fastmq.com>2009-09-10 12:04:26 +0200
commit95944551be93665fe4dcadbe00168da553b7d82f (patch)
tree084ed6b5136c05c2f5ca1574aaac1cc4a282dc96 /src/socket_base.cpp
parent5acef9fc96280df934176b02de724eb904e4bba3 (diff)
parentb3f32e219ec15a582b6fd03b155e0861443690f6 (diff)
Merge branch 'master' of git@github.com:sustrik/zeromq2
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;