查了以下libevent的用法,挺好的網站收藏總結
1
讓libevent支持多線程 |
http://www.cppblog.com/converse/archive/2009/01/12/71809.html
http://www.cppblog.com/converse/archive/2009/01/12/71809.html
3:
使用 libevent 和 libev 提高網絡應用性能
http://www.ibm.com/developerworks/cn/aix/library/au-libev/index.html4:libevent教程,echo server的實現
http://www.01-labor.com/2011/06/echo-server-over-libevent-sample-code.html
5:使用libevent編寫linux服務
http://yifangyou.blog.51cto.com/900206/611414