On 10/7/22 16:35, orzodk wrote:
If I understand your question correctly, you have two different
sockets: `listener` and `client`


No. The code in the original message explicitly creates only one ZMQ socket, which under the hood creates one listening socket, and then when connections are accepted it creates client sockets.


Within the loop the only ZMQ call is socket.recv_string() which works with both listening socket and client socket.


The question is: how to differentiate between error conditions on listening socket and on client socket, since they should be handled differently.



Yuri


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

Reply via email to