In the example below taken from Nicholas Piel's ZMQ tutorial, a client makes connections to socket 5000 and 6000. My question is, suppose there are two separate servers, one that handles port 5000 messages and one that handles 6000?
What happens if the server listening to port 5000 is down? It appears to me this client below is blocked even though one of its servers is available.
Regards
David
socket = context.socket(zmq.REQ) |
socket.connect( "tcp://127.0.0.1:5000" ) |
socket.connect( "tcp://127.0.0.1:6000" ) |
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
https://lists.zeromq.org/mailman/listinfo/zeromq-dev