摘要: 采用libevent2将输入的字符变成大写,然后在返回去,代码如下/* For sockaddr_in */#include <netinet/in.h>/* For socket functions */#include <sys/socket.h>/* For fcntl */#include <fcntl.h>#include <event2/event.h>#include <event2/buffer.h>#include <event2/bufferevent.h>#include <assert.h&g 阅读全文
posted @ 2012-01-06 20:41 bourneli 阅读(2742) 评论(0) 推荐(1) 编辑