It ensures that binding socket is closed in monitor process. It also
ensures that even if child process makes a failure during termination,
SIGSEGV or other, monitor process also terminates.
static void kill_child_handler(int num)
{
if (child_pid)
static void kill_child_handler(int num)
{
if (child_pid)
}
static void keepalive(void (*work)(void *data), void *data)
}
static void keepalive(void (*work)(void *data), void *data)