06 2020 档案
摘要:客户端 #pragma once #include <event2/util.h> class libevent_client { public: libevent_client(); ~libevent_client(); void initial(int port); void connect_
阅读全文
摘要:客户端 #pragma once #include <event2/util.h> class libevent_client { public: libevent_client(); ~libevent_client(); void initial(int port); void connect_
阅读全文
摘要:接口:event_base_dispatch /** Event dispatching loop 事件分配循环 This loop will run the event base until either there are no more pending or active, or until
阅读全文
摘要:read,读取数据 /** Read data from a bufferevent buffer. The bufferevent_read() function is used to read data from the input buffer.从输入缓存中读取数据 @param bufev
阅读全文
摘要:/** Allocate and asssign a new event structure, ready to be added. 分配并指定一个新的event结构体,这个结构体将被添加。 The function event_new() returns a new event that can
阅读全文
摘要:/** Launch a connect() attempt with a socket-based bufferevent. 使用一个socket-based bufferevent来启动connect() When the connect succeeds, the eventcb will b
阅读全文
摘要:/** Changes the callbacks for a bufferevent.通过回调函数来改变bufferevent @param bufev the bufferevent object for which to change callbacks回调函数将要改变的bufferevent
阅读全文

浙公网安备 33010602011771号