23.01.2012 5:24, Martin Lucina wrote:
> [email protected] 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()?
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to