first commit
This commit is contained in:
20
README.md
Normal file
20
README.md
Normal file
@@ -0,0 +1,20 @@
|
||||
#编译
|
||||
##服务端编译命令
|
||||
g++ -o tls_server tls_server.cpp -lssl -lcrypto
|
||||
./tls_server
|
||||
|
||||
##客户端命令
|
||||
客户端运行在ue,使用Makefile交叉编译
|
||||
|
||||
运行实例:
|
||||
# 1. 基本调试(推荐用于诊断延迟)
|
||||
./tls_client.bin -h 183.238.13.170 -p 7271 -c client.crt -k client.key -x -d 1
|
||||
|
||||
# 2. 详细调试(查看SSL状态)
|
||||
./tls_client.bin -h 183.238.13.170 -p 7271 -c client.crt -k client.key -x -d 2
|
||||
|
||||
# 3. 完整调试(查看所有消息)
|
||||
./tls_client.bin -h 183.238.13.170 -p 7271 -c client.crt -k client.key -x -d 3
|
||||
|
||||
# 5. 循环测试10次,每次间隔2秒
|
||||
./tls_client.bin -h 183.238.13.170 -p 7271 -c client.crt -k client.key -x -t 3 -n 10 -i 2
|
Reference in New Issue
Block a user