![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
server
YANG_HR0209
愿无岁月可回头,且以深情共白首。
展开
-
libevent for linux building and installation
github path : https://github.com/libevent/libevent 下载好 libevent 1. 执行 tar -zxvf libevent.tar.gz 命令解压文件 2. 执行 ./configure –prefix=/usr 或者是 ./configure --program-prefix=/usr 3.执行 make原创 2017-01-24 12:30:37 · 304 阅读 · 0 评论 -
libevent for echo server and client
echo server: #include #include #include #include #include #include #include #include #define LISTEN_PORT 9999 #define LISTEN_BACKLOG 32 #define MAX_LINE 256 void do_accept(evutil_socket转载 2017-01-24 14:23:43 · 347 阅读 · 0 评论