zeromq / cppzmq

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

function with zmq::recv_flags::none show it have suitable impleiment? #600

Open fengmao31 opened 1 year ago

fengmao31 commented 1 year ago

image I find I can use zmq::send_flags::none in the pulisher, but I cannot use zmq::recv_flags::none. I can find the impleiment in the zmq.hpp. It looks a bug in the zmq.hpp.

gummif commented 1 year ago

Try passing message by reference not pointer (zmqmsg).