On 11/12/2011 04:32 PM, Amr Ali wrote: > 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?
ZMQ_DONTWAIT supersedes ZMQ_RCVTIMEO. Martin _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
