mirror of
https://github.com/FastTunnel/FastTunnel.git
synced 2025-02-08 02:39:29 +08:00
心跳超时重连
This commit is contained in:
parent
bd0f9d693c
commit
7c24151eef
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user