change client to libev, server doesnt work yet

This commit is contained in:
wangyu-
2018-08-29 04:01:37 -05:00
parent 6718627e9d
commit 233fab4fac
5 changed files with 130 additions and 213 deletions

View File

@@ -15,6 +15,7 @@
#include "encrypt.h"
#include "fd_manager.h"
#if 0
int server_easytcp=0;//currently only for test
int server_on_timer_multi(conn_info_t &conn_info) //for server. called when a timer is ready in epoll.for server,there will be one timer for every connection
@@ -899,3 +900,8 @@ int server_event_loop()
}
return 0;
}
#endif
int server_event_loop()
{
return 0;
}