Skip to content
This repository was archived by the owner on Apr 24, 2020. It is now read-only.
This repository was archived by the owner on Apr 24, 2020. It is now read-only.

Cannot use ZeroMQ 4.2 sockopt ZMQ_ROUTER_HANDOVER #595

@WindzCUHK

Description

@WindzCUHK

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.

I inserted a line in binding.cc to make it works. Is it the suggested way to do so?

  • orginal code
...
opts_int.insert(42); // ZMQ_IPV6

opts_int64.insert(3); // ZMQ_SWAP
...
  • code after insert
...
opts_int.insert(42); // ZMQ_IPV6
opts_int.insert(56); // ZMQ_ROUTER_HANDOVER

opts_int64.insert(3); // ZMQ_SWAP
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions