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
var ctx = new Context();
// setup a pusher and puller
puller.SetOption(SocketOpt.RCVTIMEO, 500);
try {
while(true) {
var bytes = puller.Recv();
// use bytes
}
} catch (ZmqException) {}
With the above code, instead of getting a ZmqException, I got a normal system exception.
System.ArgumentNullException: Array cannot be null.
I think the problem is at this line. According to zmq doc, the EAGAIN error code is given if the ZMQ_RCVTIMEO options is set and the socket failed to receive the message within the specified time.
The text was updated successfully, but these errors were encountered:
With the above code, instead of getting a
ZmqException
, I got a normal system exception.System.ArgumentNullException: Array cannot be null.
I think the problem is at this line. According to zmq doc, the EAGAIN error code is given if the ZMQ_RCVTIMEO options is set and the socket failed to receive the message within the specified time.
The text was updated successfully, but these errors were encountered: