摘要: 最近几天一直在看libevent的源代码。看的方法是: ①网络上一些大牛的博客资料 ②libevent源代码(版本:Libevent 2.0.16-stable) ③libevent例子程序 ④libevent相关文档特别推荐的学习资料是张亮大牛的Blog:http://blog.csdn.net/sparkliang/article/category/660506跟着这个资料,再动手调一下库中自带的例子程序,你很容易就能够了解libevent的事件处理流程。下面是一个对例子程序hello-world.c写的一个client程序: 1 /* Don't actually copy th 阅读全文
posted @ 2013-03-04 16:16 么幺 阅读(301) 评论(0) 推荐(0) 编辑