![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
libevent
码农code之路
一入码海深似海,从此天涯是路人
展开
-
windows下编译libevent(2.1.8)及使用
一:获取libeventgithub地址:https://github.com/libevent/libevent/releases下载2.1.8稳定版二:编译libevent我是用的visual studio 2010,当然也可以使用更高的版本启动后,进入"Libevent-release-2.1.8-stable"所在的目录直接执行会报如下错误:按照提示...原创 2018-11-14 14:54:53 · 5388 阅读 · 1 评论 -
libevent实现TCP 服务端
libevent实现Tcp Server基于bufferevent实现/********************************************************Copyright (C), 2016-2018,FileName: mainAuthor: woniu201Email: wangpengfei.201@163....原创 2018-11-21 11:29:10 · 6410 阅读 · 2 评论 -
libevent实现对管道的读写操作
读管道:#include <stdio.h>#include <unistd.h>#include <stdlib.h>#include <sys/types.h>#include <sys/stat.h>#include <string.h>#include <fcntl.h>#include...原创 2019-07-10 17:07:56 · 852 阅读 · 0 评论 -
libevent实现TCP 客户端
ibevent实现Tcp Client基于bufferevent实现#include <stdio.h>#include <unistd.h>#include <stdlib.h>#include <sys/types.h>#include <sys/stat.h>#include <string.h>#i...原创 2019-07-10 17:10:54 · 4629 阅读 · 0 评论