[zeromq-dev] How to detect dead connected client for ROUTER
Brian Smith
brian at linuxfood.net
Tue Dec 13 20:59:42 CET 2011
The recommended way to deal with this is heartbeating.
There are examples in the guide and on the wiki.
-B
On Tue, Dec 13, 2011 at 3:30 AM, Alexander Altshuler <alt at kaluga.ru> wrote:
> Hi
>
>>Obsolete ECANTROUTE errror code removed
>
> I have a DEALER client connected to ROUTER server.
> Client sends a bulk of messages and exit.
> When after some time server try to send first response it is blocked on
> first zmq_sendmsg() - while sending client reply address.
> zmq_errno() returns EAGAIN if I use ZMQ_DONTWAIT flag.
>
> Is there any way to distinguish between real HWM use case and dead
> client?
>
> Regard
> Alexander
>
>
> _______________________________________________
> 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