Open WindzCUHK opened 6 years ago
I try to use the new constant ZMQ_ROUTER_HANDOVER in zeromq 4.1+ inside method zmq_setsockopt(), but it throw Invalid argument error to me.
ZMQ_ROUTER_HANDOVER
zmq_setsockopt()
Invalid argument
I inserted a line in binding.cc to make it works. Is it the suggested way to do so?
binding.cc
... opts_int.insert(42); // ZMQ_IPV6
opts_int64.insert(3); // ZMQ_SWAP ...
- code after insert ```c ... opts_int.insert(42); // ZMQ_IPV6 opts_int.insert(56); // ZMQ_ROUTER_HANDOVER opts_int64.insert(3); // ZMQ_SWAP ...
You can try zeromq.js it has the same API, bundles a prebuilt version of zeromq 4.2.2 and has support for ZMQ_ROUTER_HANDOVER.
I try to use the new constant
ZMQ_ROUTER_HANDOVER
in zeromq 4.1+ inside methodzmq_setsockopt()
, but it throwInvalid argument
error to me.I inserted a line in
binding.cc
to make it works. Is it the suggested way to do so?opts_int64.insert(3); // ZMQ_SWAP ...