diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2011-03-24 16:47:33 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-03-24 16:47:33 +0100 |
commit | bc4a1ce3345f4e5904e4b13c618f90def21256a5 (patch) | |
tree | 0e95c952f0a5464f5edb515e7d16644e76515a85 /src/options.hpp | |
parent | 507718ee1a56e376c06389c513de3868297fec35 (diff) |
ZMQ_HWM split into ZMQ_SNDHWM and ZMQ_RCVHWM
These new options allow to control the maximum size of the
inbound and outbound message pipe separately.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/options.hpp')
-rw-r--r-- | src/options.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/options.hpp b/src/options.hpp index 971e643..9ba06e3 100644 --- a/src/options.hpp +++ b/src/options.hpp @@ -35,8 +35,9 @@ namespace zmq int setsockopt (int option_, const void *optval_, size_t optvallen_); int getsockopt (int option_, void *optval_, size_t *optvallen_); - // High-water mark for messages in pipe. - int hwm; + // High-water marks for message pipes. + int sndhwm; + int rcvhwm; uint64_t affinity; blob_t identity; |