zeromq / cppzmq

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

missing ZMQ_IDENTITY in zmq::sockopt #456

Open thierryba opened 4 years ago

thierryba commented 4 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 4 years ago

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