zeromq.js
zeromq.js copied to clipboard
What to do when "Socket temporarily available"
Context: I'm running a ZeroMQ Dealer
and sending a message that the Router
(written with pyzmq) can't consume. When the dealer
does a receive
, I get this error:
{ Error: Socket temporarily unavailable
at Session.sendOnControl (/Users/kylek/code/src/github.com/rgbkrk/zeromq-new-for-nteract/session.js:50:49)
at process._tickCallback (internal/process/next_tick.js:68:7) errno: 35, code: 'EAGAIN' }
My understanding is that the socket is timing out. I can code around this, but I'm curious if I should be looking at this differently.