1. 程式人生 > >libevent學習資料 (轉)

libevent學習資料 (轉)

The libevent API provides a mechanism to execute a callback function when a
specific event occurs on a file descriptor or after a timeout has been
reached. Furthermore, libevent also support callbacks due to signals or
regular timeouts.

libevent is meant to replace the event loop found in event driven network
servers. An application just needs to call event_dispatch() and then add or
remove events dynamically without having to change the event loop.


官網


Fast portable non-blocking network programming with Libevent



epoll學習筆記


libevent事件處理框架分析


libevent入門教程:Echo Server based on libevent


libevent原始碼深度剖析
libevent原始碼分析
How to use epoll? A complete example in C