ZMQ endpoints see the network as connected, but some switch in between timed the connection out so no data is passed. The disconnection is silent so ZMQ does not see it. The best way to "solve" this is to probably use a heartbeat.

Joshua

Friday, June 07, 2013 8:38 PM
Thranks your help!
 
Do you mean to say that the network remains connected state, ZMQ internal initiative calls for addition to the network, which is not their own re-connect with the server, so the client is unable to maintain long-SUB connection,is right ?
 
2013-06-08

linjson

发件人: Joshua Foster
发送时间: 2013-06-08  08:20:50
收件人: ZeroMQ development list
抄送:
主题: Re: [zeromq-dev] zmq questions

You problem is that the network is closing the connection without ZMQ knowing. If you unplug your network cable and replug it back in, it will reconnect and continue receiving data. If the network is closed without ZMQ knowing, ZMQ will not know to reconnect. This usually happens on large networks or over VPN.

Joshua
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
Friday, June 07, 2013 8:15 PM
 
I am now using ZMQ, found two do not understand the question
1.Why do I use the pub / sub mode, connecting more than 12 hours or longer time, SUB-side data is not receiving of it, I do not know what the problem is in the PUB, or is in the SUB, is not with the PUB-side caching there is a problem, because I did not set the SUB side HWM values
2.There ZMQ internal mechanism to reconnect to the network, I ask that this re-connection mechanism occurs at what time? Receiving data in obstruction is not re-connect to the network
 
I use the environment are: ZMQ version is 3.2.3, the client is android, the server is JAVA
 
Please help me!!
Thank you
 
2013-06-08

linjson
_______________________________________________
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

Reply via email to