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

Pazzo Da Legare pazzodalegare at gmail.com
Tue Mar 6 10:48:51 CET 2012


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?

>> - limit the length of buffered messages?
>
>
> Look for the HWM socket options - they let you set a limit. Note that the
> limit is not really precise - things can be pushed into the TCP buffer, so
> your effective limit is likely to be TCP buffer size + HWM number of
> messages.

I will give a look at HWM parameters, thanks again,

pz


> Ian
>
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>



More information about the zeromq-dev mailing list