[zeromq-dev] IPC and free ports

Pieter Hintjens ph at imatix.com
Fri Oct 19 04:29:51 CEST 2012


On Thu, Oct 18, 2012 at 9:32 PM, andrea crotti
<andrea.crotti.0 at gmail.com> wrote:

> I think it should or raise a warning saying that the IPC file already
> exists..

Right.

> What's the difference between IPC and TCP in terms of recovering after
> a crash?  Maybe the TCP port gets closed anyway and the file instead
> can't get cleaned up?

Yes, the OS automatically cleans up TCP bindings when the process exits.

> Also because the great thing about ZMQ is that is simple and
> consistent, and since this is a clear exception to the rule it should
> be at least written somewhere.

Why not make a patch to the zmq_ipc man page, and/or change the
behavior with a patch to the code?

-Pieter



More information about the zeromq-dev mailing list