split main.cpp into client.cpp and server.cpp

This commit is contained in:
wangyu-
2018-08-29 01:45:57 -05:00
parent 0095f1da5c
commit b9d4264225
6 changed files with 1774 additions and 1758 deletions

View File

@@ -16,6 +16,9 @@
int hb_mode=1;
int hb_len=1200;
char hb_buf[buf_len];
int mtu_warn=1375;//if a packet larger than mtu warn is receviced,there will be a warning
int max_rst_to_show=15;