Posted on 2013-01-17 17:34
鑫龙 阅读(4990)
评论(0) 编辑 收藏 引用 所属分类:
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.
官网
http://libevent.org/
Fast portable non-blocking network programming with Libevent
http://www.wangafu.net/~nickm/libevent-book/
epoll学习笔记
http://www.cppblog.com/converse/archive/2008/04/29/48482.aspx
libevent事件处理框架分析
http://www.cppblog.com/converse/archive/2009/01/03/71040.aspx
libevent入门教程:Echo Server based on libevent
http://www.felix021.com/blog/read.php?2068
libevent源码深度剖析
http://blog.csdn.net/sparkliang/article/category/660506
libevent源码分析How to use epoll? A complete example in C
https://banu.com/blog/2/how-to-use-epoll-a-complete-example-in-c/