zeromq / cppzmq

Header-only C++ binding for libzmq
http://www.zeromq.org
MIT License
1.94k stars 757 forks source link

missing ZMQ_IDENTITY in zmq::sockopt #456

Open thierryba opened 3 years ago

thierryba commented 3 years ago

I just wanted to switch from 4.6 to 4.7.1 but I'm failing to do so because setsockopt(ZMQ_IDENTITY...) is deprecated but there is no replacement.

gummif commented 3 years ago

ZMQ_IDENTITY is deprecated, but you can use socket.set(zmq::sockopt::routing_id) for the same functionality.