心跳超时重连

This commit is contained in:
SpringHgui 2019-12-26 16:31:40 +08:00
parent bd0f9d693c
commit 7c24151eef
2 changed files with 3 additions and 3 deletions

View File

@ -9,9 +9,9 @@
"ClientSettings": {
"Common": {
// ip, BindAddr
//"ServerAddr": "154.202.58.219",
"ServerAddr": "154.202.58.219",
"ServerAddr": "127.0.0.1",
//"ServerAddr": "127.0.0.1",
// BindPort
"ServerPort": 1271

View File

@ -134,7 +134,7 @@ namespace FastTunnel.Core.Client
// 心跳开始
timer_heart.Start();
//timer_timeout.Start();
timer_timeout.Start();
th = new Thread(ReceiveServer);
th.Start(_client.Socket);