From c923db7d8a6b89b7738219c7899bb60c67cdcbfa Mon Sep 17 00:00:00 2001 From: esrrhs Date: Sat, 26 Oct 2019 20:02:37 +0800 Subject: [PATCH] add --- cmd/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/main.go b/cmd/main.go index fddb10a..fb4ad0a 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -42,7 +42,7 @@ Usage: Tcp send and receive buffer size, default 1MB -tcp_mw tcp的最大窗口,默认10000 - The maximum window of tcp, the default is 100 + The maximum window of tcp, the default is 10000 -tcp_rst tcp的超时发送时间,默认400ms Tcp timeout resend time, default 400ms @@ -58,7 +58,7 @@ func main() { key := flag.Int("key", 0, "key") tcpmode := flag.Int("tcp", 0, "tcp mode") tcpmode_buffersize := flag.Int("tcp_bs", 1024*1024, "tcp mode buffer size") - tcpmode_maxwin := flag.Int("tcp_mw", 100, "tcp mode max win") + tcpmode_maxwin := flag.Int("tcp_mw", 10000, "tcp mode max win") tcpmode_resend_timems := flag.Int("tcp_rst", 400, "tcp mode resend time ms") flag.Usage = func() { fmt.Printf(usage)