On 22/01/12 13:02, Sergey Matveychuk wrote:

> I think the patch will resolve my problem.

Are you sure about that?

First, keepalives are meant for the situation where the network 
connectivity between peers is broken (cable pulled out from the socket, 
switch turned off etc.) Is that your use case?

If, for example, the peer application fails, OS normally notifies you 
about the fact and connection is closed immediately.

Moreover, TCP keep-alive interval is set to 2 hours or more (see RFC 
1122). Is that sufficient for you?

Martin
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to