Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
会洗碗的CV工程师
engine2.0
提交
91208ffe
E
engine2.0
项目概览
会洗碗的CV工程师
/
engine2.0
与 Fork 源项目一致
Fork自
xc13262215230 / engine2.0
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
E
engine2.0
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
91208ffe
编写于
3月 18, 2023
作者:
X
xuchi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
bat批处理启动脚本文件
上级
2ab8f84b
变更
10
展开全部
隐藏空白更改
内联
并排
Showing
10 changed file
with
42 addition
and
6070 deletion
+42
-6070
engine2.0/bin/Debug/EasyClient.exe
engine2.0/bin/Debug/EasyClient.exe
+0
-0
engine2.0/bin/Debug/EasyClient.ilk
engine2.0/bin/Debug/EasyClient.ilk
+0
-0
engine2.0/bin/Debug/EasyClient.pdb
engine2.0/bin/Debug/EasyClient.pdb
+0
-0
engine2.0/bin/Debug/EasyServer.exe
engine2.0/bin/Debug/EasyServer.exe
+0
-0
engine2.0/bin/Debug/EasyServer.ilk
engine2.0/bin/Debug/EasyServer.ilk
+0
-0
engine2.0/bin/Debug/EasyServer.pdb
engine2.0/bin/Debug/EasyServer.pdb
+0
-0
engine2.0/bin/Debug/TcpEasyClient_wins_ipv6.bat
engine2.0/bin/Debug/TcpEasyClient_wins_ipv6.bat
+6
-2
engine2.0/bin/Debug/TcpEasyServer_wins_ipv6.bat
engine2.0/bin/Debug/TcpEasyServer_wins_ipv6.bat
+36
-0
engine2.0/bin/Debug/clientLog.txt
engine2.0/bin/Debug/clientLog.txt
+0
-26
engine2.0/bin/Debug/serverLog.txt
engine2.0/bin/Debug/serverLog.txt
+0
-6042
未找到文件。
engine2.0/bin/Debug/EasyClient.exe
浏览文件 @
91208ffe
无法预览此类型文件
engine2.0/bin/Debug/EasyClient.ilk
浏览文件 @
91208ffe
无法预览此类型文件
engine2.0/bin/Debug/EasyClient.pdb
浏览文件 @
91208ffe
无法预览此类型文件
engine2.0/bin/Debug/EasyServer.exe
浏览文件 @
91208ffe
无法预览此类型文件
engine2.0/bin/Debug/EasyServer.ilk
浏览文件 @
91208ffe
无法预览此类型文件
engine2.0/bin/Debug/EasyServer.pdb
浏览文件 @
91208ffe
无法预览此类型文件
engine2.0/bin/Debug/TcpEasyClient_wins_ipv6.bat
浏览文件 @
91208ffe
...
...
@@ -5,8 +5,9 @@
::std::map<k,v>
::::::::::::::::::
:: 服务端IP地址,本机ipv6地址,尽量不用vmware开头的虚拟网卡的ipv6地址
set
cmd
=
"strIP=fe80::62f9:e02c:efd3:3083
%
20"
:: 服务端IP地址,本机ipv6地址(尽量不用vmware开头的虚拟网卡的ipv6地址, ::1)
::set cmd="strIP=fe80::62f9:e02c:efd3:3083%20"
set
cmd
=
"strIP=::1"
:: 服务端端口
set
cmd
=
%cmd%
nPort
=
4567
:: 工作线程数量
...
...
@@ -26,6 +27,9 @@ set cmd=%cmd% nSendBuffSize=10240
set
cmd
=
%cmd%
nRecvBuffSize
=
10240
:: 检查接收到的服务端消息ID是否连续
set
cmd
=
%cmd%
-checkMsgID
:: 启用IPV6
set
cmd
=
%cmd%
-ipv
6
::::::
::::::
:: 启动程序(客户端程序) 传入参数
...
...
engine2.0/bin/Debug/TcpEasyServer_wins_ipv6.bat
0 → 100644
浏览文件 @
91208ffe
@echo
off
::::::::::::::::::
::key-val
::字典
::std::map<k,v>
::::::::::::::::::
::服务端IP地址
set
cmd
=
"strIP=any"
::服务端端口
set
cmd
=
%cmd%
nPort
=
4567
::消息处理线程数量
set
cmd
=
%cmd%
nThread
=
1
::客户端连接上限
set
cmd
=
%cmd%
nMaxClient
=
100064
::客户端发送缓冲区大小(字节)
set
cmd
=
%cmd%
nSendBuffSize
=
20480
::客户端接收缓冲区大小(字节)
set
cmd
=
%cmd%
nRecvBuffSize
=
20480
:: 收到消息后将返回应答消息
set
cmd
=
%cmd%
-sendback
::提示发送缓冲区已写满
::当出现sendfull提示时,表示当次消息被丢弃
set
cmd
=
%cmd%
-sendfull
::检查接收到的客户端消息ID是否连续
set
cmd
=
%cmd%
-checkMsgID
::自定义标志 未使用
set
cmd
=
%cmd%
-p
::采用ipv6协议类型
set
cmd
=
%cmd%
-ipv
6
::启动程序 传入参数
EasyServer
%cmd%
pause
engine2.0/bin/Debug/clientLog.txt
已删除
100644 → 0
浏览文件 @
2ab8f84b
Info [2023-3-12 23:21:13]Log::setLogPath success,<clientLog.txt,w>
Debug [2023-3-12 23:21:13]madeCmd k<strIP> v<fe80::62f9:e02c:efd3:30830>
Debug [2023-3-12 23:21:13]madeCmd k<nPort> v<4567>
Debug [2023-3-12 23:21:13]madeCmd k<nThread> v<1>
Debug [2023-3-12 23:21:13]madeCmd k<nClient> v<1000>
Debug [2023-3-12 23:21:13]madeCmd k<nMsg> v<1>
Debug [2023-3-12 23:21:13]madeCmd k<nSendSleep> v<10>
Debug [2023-3-12 23:21:13]madeCmd k<nSendBuffSize> v<10240>
Debug [2023-3-12 23:21:13]madeCmd k<nRecvBuffSize> v<10240>
Debug [2023-3-12 23:21:13]madeCmd k<-checkMsgID>
Info [2023-3-12 23:21:13]Config::getStr strIP=fe80::62f9:e02c:efd3:30830
Info [2023-3-12 23:21:13]Config::getInt nPort=4567
Info [2023-3-12 23:21:13]Config::getInt nThread=1
Info [2023-3-12 23:21:13]Config::getInt nClient=1000
Info [2023-3-12 23:21:13]Config::getInt nMsg=1
Info [2023-3-12 23:21:13]Config::getInt nSendSleep=10
Error [2023-3-12 23:21:13]Config::getStr not find <nWorkSleep>
Info [2023-3-12 23:21:13]Config::getInt nWorkSleep=1
Info [2023-3-12 23:21:13]Config::getInt nSendBuffSize=10240
Info [2023-3-12 23:21:13]Config::getInt nRecvBuffSize=10240
Info [2023-3-12 23:21:13]thread<1>,start
PError [2023-3-12 23:21:13]<socket=456> connect <fe80::62f9:e02c:efd3:30830:4567> failed...
PError [2023-3-12 23:21:13]errno:10049, errmsg: 在其上下文中,该请求的地址无效。
Info [2023-3-12 23:21:13]thread<1>,Connect<begin=0, end=1000 ,nConnect=0>
Info [2023-3-12 23:21:14]thread<1>,clients<1000>,connect<0>,time<1.009678>,send<0>
Info [2023-3-12 23:21:15]thread<1>,clients<1000>,connect<0>,time<1.013561>,send<0>
engine2.0/bin/Debug/serverLog.txt
已删除
100644 → 0
浏览文件 @
2ab8f84b
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录