[zeromq-dev] cleaning up TCP sockets

Pieter Hintjens ph at imatix.com
Thu Mar 21 12:03:18 CET 2013

On Thu, Mar 21, 2013 at 11:34 AM, Joel Lauener <Joel.Lauener at cern.ch> wrote:

> When, through heartbeat, the client detects that a server is not responding
> I close the corresponding DEALER socket. This in turns should close the
> underlying TCP socket.


> I’m afraid that this could be a potential problem in production if several
> clients got stuck and they pile up.

What does "get stuck" mean? If clients keep their connections open,
this will use up resources on the server. However unless you're
talking about very large numbers of clients it's not going to cause


More information about the zeromq-dev mailing list