C#使用tcp协议socket收发字符串文本数据,比如json字符串,xml字符串或者是纯文本数据

上传者: piaoliuxing126 | 上传时间: 2021-03-20 10:48:41 | 文件大小: 9.71MB | 文件类型: ZIP
该程序用C#编写,基于第三方类库实现TCP协议收发文本数据,比如Json,xml等字符串数据。SharpSocket底层采用Windows的IOCP模型,是最稳定和高效的Socket编程模型。SharpSocket代码经过精心优化, 有些直接在IL层编写,处理数据更快速!

文件下载

资源详情

[{"title":"( 55 个子文件 9.71MB ) C#使用tcp协议socket收发字符串文本数据,比如json字符串,xml字符串或者是纯文本数据","children":[{"title":"TCPTextDemo","children":[{"title":"TCPTextClient","children":[{"title":"TCPTextClient.csproj <span style='color:#111;'> 3.50KB </span>","children":null,"spread":false},{"title":"Form1.cs <span style='color:#111;'> 3.70KB </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 476B </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.80KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"Form1.Designer.cs <span style='color:#111;'> 9.01KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Debug","children":[{"title":"TCPTextClient.exe <span style='color:#111;'> 12.50KB </span>","children":null,"spread":false},{"title":"SGSupport64.dll <span style='color:#111;'> 2.50MB </span>","children":null,"spread":false},{"title":"SharpSocket.pdb <span style='color:#111;'> 355.50KB </span>","children":null,"spread":false},{"title":"SGSupport.dll <span style='color:#111;'> 1.47MB </span>","children":null,"spread":false},{"title":"SharpSocket.xml <span style='color:#111;'> 32.23KB </span>","children":null,"spread":false},{"title":"TCPTextClient.pdb <span style='color:#111;'> 21.50KB </span>","children":null,"spread":false},{"title":"SharpSocket.dll <span style='color:#111;'> 305.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"TCPTextServer","children":[{"title":"Form1.cs <span style='color:#111;'> 8.17KB </span>","children":null,"spread":false},{"title":"TCPTextServer.csproj <span style='color:#111;'> 3.50KB </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 476B </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 5.87KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.80KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"Form1.Designer.cs <span style='color:#111;'> 20.52KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Debug","children":[{"title":"SGSupport64.dll <span style='color:#111;'> 2.50MB </span>","children":null,"spread":false},{"title":"TCPTextServer.pdb <span style='color:#111;'> 27.50KB </span>","children":null,"spread":false},{"title":"SharpSocket.pdb <span style='color:#111;'> 355.50KB </span>","children":null,"spread":false},{"title":"SGSupport.dll <span style='color:#111;'> 1.47MB </span>","children":null,"spread":false},{"title":"TCPTextServer.exe <span style='color:#111;'> 18.50KB </span>","children":null,"spread":false},{"title":"SharpSocket.xml <span style='color:#111;'> 32.23KB </span>","children":null,"spread":false},{"title":"SharpSocket.dll <span style='color:#111;'> 305.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":".vs","children":[{"title":"TCP收发文本数据","children":[{"title":"v15","children":[{"title":".suo <span style='color:#111;'> 44.00KB </span>","children":null,"spread":false},{"title":"Server","children":[{"title":"sqlite3","children":[{"title":"storage.ide-wal <span style='color:#111;'> 3.93MB </span>","children":null,"spread":false},{"title":"storage.ide-shm <span style='color:#111;'> 32.00KB </span>","children":null,"spread":false},{"title":"storage.ide <span style='color:#111;'> 40.00KB </span>","children":null,"spread":false},{"title":"db.lock <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"Supercharger","children":[{"title":"TCPTextClient","children":[{"title":"global_history.dat <span style='color:#111;'> 10.15KB </span>","children":null,"spread":false},{"title":"workbench.dat <span style='color:#111;'> 217B </span>","children":null,"spread":false},{"title":"codemap.dat <span style='color:#111;'> 5.04KB </span>","children":null,"spread":false}],"spread":true},{"title":"TCPTextServer","children":[{"title":"global_history.dat <span style='color:#111;'> 2.35KB </span>","children":null,"spread":false},{"title":"workbench.dat <span style='color:#111;'> 217B </span>","children":null,"spread":false},{"title":"codemap.dat <span style='color:#111;'> 5.74KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"说明.txt <span style='color:#111;'> 436B </span>","children":null,"spread":false},{"title":"WebSocketClient","children":[{"title":"WebSocketClient.html <span style='color:#111;'> 3.63KB </span>","children":null,"spread":false}],"spread":true},{"title":"TCP文本模式下示例.suo <span style='color:#111;'> 28.50KB </span>","children":null,"spread":false},{"title":"TCP收发文本数据.sln <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"Dll","children":[{"title":"SGSupport64.dll <span style='color:#111;'> 2.50MB </span>","children":null,"spread":false},{"title":"SharpSocket.pdb <span style='color:#111;'> 355.50KB </span>","children":null,"spread":false},{"title":"SharpSocket.chm <span style='color:#111;'> 316.01KB </span>","children":null,"spread":false},{"title":"SGSupport.dll <span style='color:#111;'> 1.47MB </span>","children":null,"spread":false},{"title":"SharpSocket.xml <span style='color:#111;'> 32.23KB </span>","children":null,"spread":false},{"title":"SharpSocket.dll <span style='color:#111;'> 305.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

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