[zeromq-dev] the service router does not support the client to restart let the req reconnection?
lgf
gaofenglihao at 126.com
Thu Jul 10 10:51:59 CEST 2014
1.
PC server:
Zmq_init->zmq_socket (router) ->zmq_bind->zmq_poll->ZMQ_POLLIN->zmq_recv
2.
The ARM client:
Zmq_init->zmq_socket (req) ->zmq_setsockopt (IDENTITY) ->zmq_connect->zmq_send->zmq_recv
3.
Only the req+router test. If the server and the client at the same time, re starting the program, then the req+router model of normal operation.
4.
If the server and the client in normal operation, keeping a running under the weight of another (such as server when running then restart client, or the client at run time restart server), When the client
Req->zmq_send successfully sent,but router->ZMQ_POLLIN polling the server can not to recv the data sent by the client.
5) If runs only on one end. maybe socket endpoint is blocked , if the server is running,add with second different IDENTITY labeling of client machines, second machines can be
the normal communication. But if the second client then no matter how restart the server cannot recv the req data from client, as the same as the first client.
6) logic model is so simple, the service router does not support the client to restart let the req reconnection? This problem may be in where?
Anybody would help me pls ,thanks.
BestRegards.
--
Geoffery,
EMAIL :gaofenglihao at 126.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140710/ad505440/attachment.htm>
More information about the zeromq-dev
mailing list