This is a good article. Thank you for the code samples, which I have tried out. I clearly need to get more acquiainted to libevent to unlock this power in my projects. For the libevent example should it be event_del($event) and not event_delete($event)?