server works again

This commit is contained in:
wangyu-
2018-08-29 05:01:30 -05:00
parent 233fab4fac
commit 7de2f800f9
5 changed files with 68 additions and 27 deletions

View File

@@ -15,7 +15,6 @@
#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
@@ -900,8 +899,3 @@ int server_event_loop()
}
return 0;
}
#endif
int server_event_loop()
{
return 0;
}