On Wed, Oct 10, 2012 at 5:52 PM, John Khvatov <ivaxer at gmail.com> wrote: > Yep. But ZMQ does not allow to call zmq_close()/zmq_term() in child process. It is wrong... Why not create the context in the forked process where you need it. I.e. after forking, not before. -Pieter