Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3056043
  • 博文数量: 396
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 4209
  • 用 户 组: 普通用户
  • 注册时间: 2016-07-04 13:04
文章分类

全部博文(396)

文章存档

2022年(1)

2021年(2)

2020年(8)

2019年(24)

2018年(135)

2017年(158)

2016年(68)

我的朋友

发布时间:2018-06-15 17:35:32

/************************************ * For msmr * server.c * tesing the speed of bufferevent_write * 2015-02-03 * author@tom************************************//*#include <stdio.h>#include <stdlib.h>#include <string.h>#include <event2/event.h>#include <event2/l.........【阅读全文】

阅读(1607) | 评论(0) | 转发(0)

发布时间:2018-06-15 17:34:03

#include<sys/types.h>#include<sys/socket.h>#include<netinet/in.h>#include<arpa/inet.h>#include<errno.h>#include<unistd.h>#include<stdio.h>#include<string.h>#include<stdlib.h>#include<event.h>#include<event2/util.h>#include <sys/time.h>#include <signal.h>#include <unistd.h>int sockf.........【阅读全文】

阅读(1646) | 评论(0) | 转发(0)

发布时间:2018-06-13 17:43:18

        本文从简单到复杂,展示如何使用libevent。网上的许多例子都是只有服务器端的,本文里面客户端和服务器端都有,以飨读者。        关于libevent编程时的一些疑问可以阅读《libevent编程疑难解答》。假如读者还想了解libevent的具体实现,可以阅读《libeve.........【阅读全文】

阅读(1504) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册