Libevent is a library that provides a mechanism to execute a callback function when a specific event occurs on a file descriptor or after a timeout has been reached.
More information about Libevent can be found at » http://libevent.org/.
Note: The libevent extension is unmaintained; consider to use the event extension instead.