You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To be frank, I don't really understand the failure mode (I'm using references ìn the place of receiver and subscriber, and I'm getting ERRNOSOCK when calling zmq_poll), but it's clear that the intent of zmq::socket_t is that it be used without the static_cast.
The text was updated successfully, but these errors were encountered:
The example does the following to initialize the poller:
The correct way to do this is to use the implicit conversion of
zmq::socket_t
tovoid*
, i.e.I needed StackOverflow to figure out this issue https://stackoverflow.com/questions/16429907/zmq-poll-not-working
To be frank, I don't really understand the failure mode (I'm using references ìn the place of
receiver
andsubscriber
, and I'm getting ERRNOSOCK when calling zmq_poll), but it's clear that the intent ofzmq::socket_t
is that it be used without thestatic_cast
.The text was updated successfully, but these errors were encountered: