演示ClientSocket反复连接进程句柄数不变

上传者: atgameover | 上传时间: 2022-09-16 09:05:12 | 文件大小: 3.51MB | 文件类型: ZIP
在服务端不存在或没开启时,clientsocket反复连接服务端会导致程序句柄数急速增加,最后系统资源耗尽出错,本demo较好的解决了这一问题.

文件下载

资源详情

[{"title":"( 45 个子文件 3.51MB ) 演示ClientSocket反复连接进程句柄数不变","children":[{"title":"demo","children":[{"title":"__history","children":[{"title":"Unit1.pas.~12~ <span style='color:#111;'> 2.01KB </span>","children":null,"spread":false},{"title":"Unit1.pas.~16~ <span style='color:#111;'> 2.49KB </span>","children":null,"spread":false},{"title":"Project1.dpr.~1~ <span style='color:#111;'> 236B </span>","children":null,"spread":false},{"title":"Unit1.dfm.~7~ <span style='color:#111;'> 908B </span>","children":null,"spread":false},{"title":"Unit1.pas.~11~ <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false},{"title":"Unit1.dfm.~8~ <span style='color:#111;'> 1022B </span>","children":null,"spread":false},{"title":"Project1.dpr.~4~ <span style='color:#111;'> 261B </span>","children":null,"spread":false},{"title":"Unit1.dfm.~10~ <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"Project1.dpr.~6~ <span style='color:#111;'> 262B </span>","children":null,"spread":false},{"title":"Project1.dpr.~3~ <span style='color:#111;'> 236B </span>","children":null,"spread":false},{"title":"Unit2.pas.~2~ <span style='color:#111;'> 1.85KB </span>","children":null,"spread":false},{"title":"Unit2.pas.~4~ <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false},{"title":"Unit2.pas.~5~ <span style='color:#111;'> 1.92KB </span>","children":null,"spread":false},{"title":"Unit1.dfm.~9~ <span style='color:#111;'> 1024B </span>","children":null,"spread":false},{"title":"Unit1.dfm.~4~ <span style='color:#111;'> 750B </span>","children":null,"spread":false},{"title":"Unit1.pas.~7~ <span style='color:#111;'> 2.24KB </span>","children":null,"spread":false},{"title":"Unit1.dfm.~2~ <span style='color:#111;'> 460B </span>","children":null,"spread":false},{"title":"Unit1.dfm.~6~ <span style='color:#111;'> 750B </span>","children":null,"spread":false},{"title":"Unit1.pas.~10~ <span style='color:#111;'> 1.85KB </span>","children":null,"spread":false},{"title":"Unit1.dfm.~1~ <span style='color:#111;'> 619B </span>","children":null,"spread":false},{"title":"Unit1.pas.~15~ <span style='color:#111;'> 2.40KB </span>","children":null,"spread":false},{"title":"Unit1.pas.~9~ <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false},{"title":"Project1.dpr.~2~ <span style='color:#111;'> 236B </span>","children":null,"spread":false},{"title":"Unit2.pas.~3~ <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false},{"title":"Unit1.pas.~13~ <span style='color:#111;'> 2.01KB </span>","children":null,"spread":false},{"title":"Unit1.pas.~8~ <span style='color:#111;'> 2.24KB </span>","children":null,"spread":false},{"title":"Project1.dpr.~5~ <span style='color:#111;'> 262B </span>","children":null,"spread":false},{"title":"Unit1.dfm.~5~ <span style='color:#111;'> 725B </span>","children":null,"spread":false},{"title":"Unit2.pas.~1~ <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false},{"title":"Unit1.pas.~14~ <span style='color:#111;'> 2.26KB </span>","children":null,"spread":false},{"title":"Unit1.dfm.~3~ <span style='color:#111;'> 460B </span>","children":null,"spread":false}],"spread":false},{"title":"Project1.res <span style='color:#111;'> 109.48KB </span>","children":null,"spread":false},{"title":"Unit1.dfm <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"Win32","children":[{"title":"Debug","children":[{"title":"Project1.exe <span style='color:#111;'> 12.31MB </span>","children":null,"spread":false},{"title":"Err.Log <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"Unit2.dcu <span style='color:#111;'> 2.59KB </span>","children":null,"spread":false},{"title":"数据.txt <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":"Unit1.dcu <span style='color:#111;'> 9.44KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"__recovery","children":null,"spread":false},{"title":"Unit1.pas <span style='color:#111;'> 2.49KB </span>","children":null,"spread":false},{"title":"Project1.identcache <span style='color:#111;'> 124B </span>","children":null,"spread":false},{"title":"Unit2.pas <span style='color:#111;'> 1.92KB </span>","children":null,"spread":false},{"title":"Project1.dpr <span style='color:#111;'> 262B </span>","children":null,"spread":false},{"title":"Project1.stat <span style='color:#111;'> 171B </span>","children":null,"spread":false},{"title":"Project1.dproj.local <span style='color:#111;'> 882B </span>","children":null,"spread":false},{"title":"Project1.dproj <span style='color:#111;'> 51.29KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明