[zeromq-dev] XReq 'Resource temporarily unavailable'
Andrew Cholakian
andrew at andrewvc.com
Mon Apr 25 01:17:26 CEST 2011
So, given a socket setup (in ruby)
require 'ffi-rzmq'
ctx = ZMQ::Context.new 1
sock = ctx.socket(ZMQ::XREQ)
sock.bind('tcp://127.0.0.1:8000')
sock.send_string('',ZMQ::SNDMORE | ZMQ::NOBLOCK)
sock.send_string('oh hai', ZMQ::NOBLOCK)
I get 'Resource temporarily unavailable' errors ONLY if there is no xrep
socket listening on the other end. Is this intentional? This seems odd.
--
Andrew Cholakian
http://www.andrewvc.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110424/f83ada75/attachment.htm>
More information about the zeromq-dev
mailing list