[zeromq-dev] How to tell from an exception thrown by recv_string() if this exception is for the listening socket or for the client socket?

Yuri yuri at rawbw.com
Fri Oct 7 22:57:34 CEST 2022


Hi orzodk,


On 10/7/22 13:39, orzodk wrote:
> The error numbers are defined here: 
> https://pyzmq.readthedocs.io/en/latest/api/zmq.html#zmq.Errno



How to differentiate between zmq.EINVALfor the listening socket and 
zmq.EINVAL for the client socket?




Yuri


//
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20221007/de396da2/attachment.htm>


More information about the zeromq-dev mailing list