On 16/02/07, Baruch Even <[EMAIL PROTECTED]> wrote:

If it is a process parent/child pair then you could listen on the signal
SIGCHLD and when the child exits your process will be notified by the
kernel. You'll need to wait() on the child process in the signal handler
to reap the zombie child process.


Yes you are right, it might be a good way to achieve that.
In the meantime I solved this by using the (linux >= 2.6.4 specific)
SOCK_SEQPACKET or SOCK_STREAM.

Thanks,

--Amos

Reply via email to