[zeromq-dev] does 0mq keep-alive for connections?
sem33 at yandex-team.ru
Mon Jan 23 18:06:49 CET 2012
23.01.2012 5:24, Martin Lucina wrote:
> 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
It's under test now.
> open_socket() is not the right place to put this. I'd probably add a
> keepalive_socket() and call that in the same places from where
> stream_engine_t calls unblock_socket().
Well, may be it'd better to set it via zmq_setsockopt()?
More information about the zeromq-dev