[zeromq-dev] does 0mq keep-alive for connections?

Sergey Matveychuk sem33 at yandex-team.ru
Mon Jan 23 10:56:54 CET 2012


23.01.2012 05:24, Martin Lucina write:
> sem33 at yandex-team.ru said:
>> 21.01.2012 01:56, Sergey Matveychuk wrote:
>>> clients. netstat -a on server shows no connection with a client, but on
>>> the client netstat -a shows an established connection:
>>>
>>
>> I think the patch will resolve my problem.
>
> As Martin Sustrik says, SO_KEEPALIVE is probably not what you want. You can
> do heartbeating/keep-alive at the application level instead.
>


But I cant' do it with ZMQ_SUB. Adding a control connection is 
undesirable. It'll increase open connections on server twice.



More information about the zeromq-dev mailing list