[zeromq-dev] Terminating context after fork

Pieter Hintjens ph at imatix.com
Mon Sep 2 10:47:08 CEST 2013

On Sat, Aug 31, 2013 at 1:35 PM, Matt Connolly <matt.connolly at me.com> wrote:

>> I have a question though: When a socket is closed, does that actually send a “closing” message over the wire? If so, this could be problematic in that the child would be communicating the fact that it is closing the socket, but the parent could still have it open.

No, we do not try to handshake the close in any way. That doesn't work
consistently since there are many scenarios in which the peer is
disconnected but does not have a chance to send any "close" messages.

More information about the zeromq-dev mailing list