There is a new feature on 4.x called ZMQ_IMMEDIATE that will, depending on the 
socket type, prevent the message from being queued if the pipe (tcp socket) is 
not yet established.

With this option enabled, the send will block until a connection is 
established, or a send(DONTWAIT) will return false.


On Dec 11, 2013, at 9:59, artemv zmq <[email protected]> wrote:

> Okay. Thanks for your thoughts. Again, I read the guide, and I know on 
> practice what's pub/sub/push/pull/ .. and so on. 
> 
> But let me ask one more time very concrete and simple question. I want to 
> develop a client/server appl. Okay. I pick dealer/router pattern. Fine. Now 
> my requirement is following: 
> if server is unaccessible (wrong ip address, server is not online, server was 
> online and then went offline, etc.)  -- in this case I want to get 
> (_instantly_) some indication that client can't send a message because server 
> is unaccessible.  It's clear?  Again, I don't want to await for reply, I want 
> to know right now that I can't send a message. 
> 
> Realistically, this is very classic  networking issue :)   So, how can ZMQ 
> help me?  Or is it possible/eligible et al  to implement  transactional (not 
> batching!)  applications  on ZMQ?
> 
> 
> BR
> -artemv
> 
> 
> 2013/12/11 Bruno D. Rodrigues <[email protected]>
> zeromq.org - learn the basics - http://zeromq.org/intro:read-the-manual - the 
> guide - http://zguide.zeromq.org/page:all
> 
> I just gave you a short description of how Ømq is solving the network 
> problems for me.  
> 
> On Dec 11, 2013, at 6:59, asif saeed <[email protected]> wrote:
> 
>> Hi Bruno,
>> 
>> On Wed, Dec 11, 2013 at 12:38 AM, Bruno D. Rodrigues 
>> <[email protected]> wrote:
>> Xsub xpub for distribution load balancing
>> 
>> What is Xsub xpub? Could you please explain these terms or give me a link to 
>> an online resource where these terms are explained in detail?
>> 
>> Thanks in advance,
>> -Asif
>> _______________________________________________
>> zeromq-dev mailing list
>> [email protected]
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> 
> 
> _______________________________________________
> zeromq-dev mailing list
> [email protected]
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> 
> 
> _______________________________________________
> zeromq-dev mailing list
> [email protected]
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

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

Reply via email to