[zeromq-dev] zmq questions

linjson linjson at 163.com
Sat Jun 8 03:45:11 CEST 2013


I have previously tried to empty message from the server timed release, ANDROID received regularly on the phone, 
the effect is somewhat better, but the network is disconnected, and reconnected, 
ZMQ rewiring itself, not as the effect of active connections 

2013-06-08 



linjson 



发件人: Joshua Foster 
发送时间: 2013-06-08  09:20:03 
收件人: ZeroMQ development list 
抄送: 
主题: Re: [zeromq-dev] zmq questions 
 
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



linjson
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
zeromq-dev at lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


linjson
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
zeromq-dev at lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130608/abe1dd7a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compose-unknown-contact(06-08-09-37-41).jpg
Type: image/jpeg
Size: 770 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130608/abe1dd7a/attachment.jpg>


More information about the zeromq-dev mailing list