libevent
文章平均质量分 79
superZGL1983
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
libevent安装与使用(1)
安装 libevent安装很简单,首先可以从github上clone源码/或直接下载压缩。具体命令如下:sh autogen.sh ./configure make make install make verify简介 libevent 是通过注册事件和回调函数,当事件发生后,则执行对应的回调函数。libevent 支持三种事件:网络IO,定时器和信号;定时器的数据结构是最小堆(mi...原创 2018-06-11 16:57:02 · 661 阅读 · 0 评论 -
libevent安装与使用(2)
http-server.c创建一个简单的http服务端/* A trivial static http webserver using Libevent's evhttp. This is not the best code in the world, and it does some fairly stupid stuff that you would never want to ...原创 2018-06-11 18:00:48 · 710 阅读 · 0 评论
分享