diff --git a/README.md b/README.md index 58dddee..10890fb 100644 --- a/README.md +++ b/README.md @@ -19,54 +19,54 @@ TCP流转换为KCP+UDP流,:snowflake:[下载地址](https://github.com/xtaci/k ### 使用の方法:lollipop: -```bat -D:\>client_windows_amd64.exe -h +```bash +$ ./client_darwin_amd64 -h NAME: kcptun - kcptun client USAGE: - client_windows_amd64.exe [global options] command [command options] [arguments...] + ./client_darwin_amd64 [global options] command [command options] [arguments...] VERSION: - 20160517 + 20160521 COMMANDS: - help, h Shows a list of commands or help for one command + help, h Shows a list of commands or help for one command GLOBAL OPTIONS: --localaddr, -l ":12948" local listen address --remoteaddr, -r "vps:29900" kcp server address --key "it's a secrect" key for communcation, must be the same as kcptun server [$KCPTUN_KEY] --mode "fast" mode for communication: fast2, fast, normal, default - --tuncrypt enable tunnel encryption, adds extra secrecy for data transfer --mtu "1350" set MTU of UDP packets, suggest 'tracepath' to discover path mtu --sndwnd "128" set send window size(num of packets) - --rcvwnd "1024" set receive window size(num of packets) + --rcvwnd "512" set receive window size(num of packets) + --fec "4" set FEC group size, must be the same as server --help, -h show help --version, -v print the version -D:\>server_windows_amd64.exe -h +$ ./server_darwin_amd64 -h NAME: kcptun - kcptun server USAGE: - server_windows_amd64.exe [global options] command [command options] [arguments...] + ./server_darwin_amd64 [global options] command [command options] [arguments...] VERSION: - 20160517 + 20160521 COMMANDS: - help, h Shows a list of commands or help for one command + help, h Shows a list of commands or help for one command GLOBAL OPTIONS: --listen, -l ":29900" kcp server listen address --target, -t "127.0.0.1:12948" target server address --key "it's a secrect" key for communcation, must be the same as kcptun client [$KCPTUN_KEY] --mode "fast" mode for communication: fast2, fast, normal, default - --tuncrypt enable tunnel encryption, adds extra secrecy for data transfer --mtu "1350" set MTU of UDP packets, suggest 'tracepath' to discover path mtu --sndwnd "1024" set send window size(num of packets) --rcvwnd "1024" set receive window size(num of packets) + --fec "4" set FEC group size, must be the same as client --help, -h show help --version, -v print the version ```