[zeromq-dev] get socket condition

bino oetomo bino at indoakses-online.com
Mon Aug 11 11:10:11 CEST 2014



Dear all ...

Let's say I (using python) have simple :

ctx = zmq.Context()
socket=ctx.socket(zmq.PUSH)
socket.setsockopt(zmq.SNDHWM, 10)
socket.connect('tcp://127.0.0.1:9001')

I knew that when HWM reach, I'll get EAGAIN exception.

But, is there any posibilities that a socket is accidently/silenty
crash/dead ?

If so ... what is the error code ?

Is there any docs that explain zmq.ZMQError ? I mean :
- What error code (int)
- What error name
- Meaning of the error, or what caused the error ?


Sincerely
-bino-





More information about the zeromq-dev mailing list