implemented --lower-level auto for server

This commit is contained in:
root
2017-08-21 20:26:55 +08:00
parent 3a35c5ce5b
commit b30a347c23
5 changed files with 144 additions and 27 deletions

View File

@@ -99,7 +99,7 @@ const u32_t server_conn_timeout=conv_timeout+10000;//for test
extern int about_to_exit;
extern pthread_t keep_thread;
extern int keep_thread_created;
extern int keep_thread_running;
enum raw_mode_t{mode_faketcp=0,mode_udp,mode_icmp,mode_end};
extern raw_mode_t raw_mode;