Open Fishrock123 opened 7 years ago
I know on ZMQ's end it will throw, but I'm not sure how errors get propagated here / what to check for.
What I'm looking to do is sock.setsockopt(zmq. ZMQ_SNDTIMEO, 0) so that send()s will never block.
sock.setsockopt(zmq. ZMQ_SNDTIMEO, 0)
send()
In this case will the JS send() API throw an EACCESS? Are there better ways to do this?
EACCESS
cc @ronkorving
I have honestly no idea. Try and find out?
I know on ZMQ's end it will throw, but I'm not sure how errors get propagated here / what to check for.
What I'm looking to do is
sock.setsockopt(zmq. ZMQ_SNDTIMEO, 0)
so thatsend()
s will never block.In this case will the JS
send()
API throw anEACCESS
? Are there better ways to do this?