[zeromq-dev] Resource temporarily unavailable

Divya Mohan divya.mohan310 at gmail.com
Fri Apr 19 14:43:53 CEST 2013


Which zmq socket types are you using for bind/connect.

As per my understanding :

zmq_recv with flag set to 0 will block until some data is availble on the
connected port/address and zmq_recv with ZMQ_DONTWAIT will return
immediately with error "Resource temporarily unavailble" if there is no
data to receive.

You can try sending some data continously to that address and see if the
receiving process is able to receive.

In case you are using ZMQ_REQ/ZMQ_REP types you have to follow the
lock-step pattern mentioned in zmq guide.
Thanks,
Divya

On Thu, Apr 18, 2013 at 12:03 PM, Tsaur, Jiryih
<jiryih.tsaur at jpmorgan.com>wrote:

>  I recently started using zmq and am getting the same error.****
>
> ** **
>
> I am using zmq 3.2.2 and built on linux rhel5.****
>
> ** **
>
> Anyone know of a version that works with ZMQ_DONTWAIT on recv?****
>
> ** **
>
> Jiryih Tsaur****
>
> ** **
>
> This email is confidential and subject to important disclaimers and
> conditions including on offers for the purchase or sale of securities,
> accuracy and completeness of information, viruses, confidentiality, legal
> privilege, and legal entity disclaimers, available at
> http://www.jpmorgan.com/pages/disclosures/email.
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130419/fa87d1ae/attachment.htm>


More information about the zeromq-dev mailing list