In the 4.0 api documentation for getsockopt, I see this:

"As the descriptor is edge triggered, applications must update the state of 
ZMQ_EVENTS after each invocation of zmq_send or zmq_recv."

I don't understand what it means to update the state of ZMQ_EVENTS as it is not 
documented as with zmq_setsockopt()..  Do I need to call 
zmq_getsockopt(..ZMQ_EVENTS..) after I am done with a zmq_send or zmq_recv to 
see if the socket is now readable and act accordingly?

Thanks.
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to