<<libevent学习资料>>

来源:互联网 发布:c语言void和int区别 编辑:程序博客网 时间:2024/06/08 06:02
 

<<libevent学习资料>>

分类: tcp-ip devel linux 1474人阅读 评论(1) 收藏 举报
descriptorapplicationcallbackeventsnetworkfunction
                <<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

How to use epoll? A complete example in C

https://banu.com/blog/2/how-to-use-epoll-a-complete-example-in-c/


0 0
原创粉丝点击