Hello

I'm just getting started with libev. I have a small program that does
the following:

* Create a socket pair and fork
* Parent and child close one of the sockets
* Parent installs a callback for read events on its socket
* Child sleeps for some seconds and exits

After the child process exits, the callback for readable events on the
parent socket keeps being called. Is there anything I can do to avoid
that? I have pasted the code here:

  http://codepad.org/sBVxNwOy

Thanks in advance,
Andre


_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Reply via email to