I was reading the documentation and stumbled upon something a little confusing 
...

In 3.x.x socket options now have ZMQ_RCVTIMEO which basically sets a timeout on
all recv() operations. But there's also ZMQ_DONTWAIT flag for a particular
recv() operation.

My question is, which supersedes which? If I set ZMQ_RCVTIMEO on a socket to
something like 100ms, and added the flag ZMQ_DONTWAIT to to a particular recv()
operation on that socket? what would be the expected behavior?

In general what is the relationship semantics between ZMQ_RCVTIMEO and 
ZMQ_DONTWAIT?

Thanks!
-- 
Amr Ali

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to