diff options
author | malosek <malosek@fastmq.com> | 2009-09-10 12:04:26 +0200 |
---|---|---|
committer | malosek <malosek@fastmq.com> | 2009-09-10 12:04:26 +0200 |
commit | 95944551be93665fe4dcadbe00168da553b7d82f (patch) | |
tree | 084ed6b5136c05c2f5ca1574aaac1cc4a282dc96 /src/socket_base.cpp | |
parent | 5acef9fc96280df934176b02de724eb904e4bba3 (diff) | |
parent | b3f32e219ec15a582b6fd03b155e0861443690f6 (diff) |
Merge branch 'master' of git@github.com:sustrik/zeromq2
Diffstat (limited to 'src/socket_base.cpp')
-rw-r--r-- | src/socket_base.cpp | 5 |
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; |