[zeromq-dev] DOWNSTREAM persistence

ilejncs ilejncs at narod.ru
Fri Jul 23 10:21:59 CEST 2010


Oliver,

send with ZMQ_NOBLOCK works with DOWNSTREAM (did not check with PUB) 
and perfectly satisfies my need.
Thank you very much.

ZMQ_NOBLOCK as setsockopt argument is not documented and, 
as far as I can see in source code, not supported.

Best regards,
Ilja Golshtein.

22.07.10, 22:09, "Oliver Smith" <oliver at kfs.org>:

> On 7/22/2010 1:06 PM, Oliver Smith wrote:
>  > On 7/22/2010 11:39 AM, ilejncs wrote:
>  >    
>  >> And other question.
>  >> I am not happy socket blocks if queue is full.
>  >> I need something like EAGAIN/exception/whatever indication in this case.
>  >> Is it achievable (e.g. for another socket type)?
>  >>
>  >>      
>  > zmq_setsockopt(socket, ZMQ_NONBLOCK) ? (or possibly NOBLOCK)
>  >    
>  And does setting the flags argument on send to ZMQ_NOBLOCK not work with 
>  pub/sub?
>  
>  - Oliver
>  
>  _______________________________________________
>  zeromq-dev mailing list
>  zeromq-dev at lists.zeromq.org
>  http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>  
>  



More information about the zeromq-dev mailing list