新增 自定义TCP端口 功能。

This commit is contained in:
xiu2
2020-09-03 19:36:09 +08:00
parent 92d5216259
commit 5d00d7c5ff
4 changed files with 33 additions and 23 deletions

View File

@@ -81,7 +81,7 @@ const downloadBufferSize = 1024
var downloadTestCount int
const defaultTcpPort = 443
//const defaultTcpPort = 443
const tcpConnectTimeout = time.Second * 1
var failTime int