[zeromq-dev] Socket.connect doesn't raise any error

Chuck Remes cremes.devlist at mac.com
Tue Mar 6 15:20:46 CET 2012


On Mar 6, 2012, at 3:48 AM, Pazzo Da Legare wrote:

> Dear Ian,
> 
> Thank you for answer.
> 
> 2012/3/6 Ian Barber <ian.barber at gmail.com>:
>>> I'm playing with zmq binding for python, with PUSH/PULL socket.
>>> How can I get an error if connect fails?
>> 
>> 
>> ZeroMQ will just retry the connection for you, so you don't get a message if
>> the connection is still pending.
> 
> Can I setup how long ZeroMQ have to retry?

No. Please read the documentation, man pages and the FAQ. By at least reading the man pages, you'll see there is no support for this kind of timeout mechanism.

These docs can be found here:

guide:  http://zguide.zeromq.org/page:all

man pages: http://api.zeromq.org/

faq: http://www.zeromq.org/area:faq




More information about the zeromq-dev mailing list