利用socket连续发送与连续接收数据

上传者: roooot | 上传时间: 2021-08-16 14:34:58 | 文件大小: 97KB | 文件类型: RAR
刚刚学习socket的时候编写的程序,可以实现客户端连续向服务器发送三个数据,服务器端连续接受三个数据并返回给客户端处理结果

文件下载

资源详情

[{"title":"( 58 个子文件 97KB ) 利用socket连续发送与连续接收数据","children":[{"title":"SocketTest","children":[{"title":"SocketTest","children":[{"title":"Form1.cs <span style='color:#111;'> 360B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Debug","children":[{"title":"SocketTest.vshost.exe <span style='color:#111;'> 13.99KB </span>","children":null,"spread":false},{"title":"SocketTest.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"SocketTest.exe <span style='color:#111;'> 6.50KB </span>","children":null,"spread":false},{"title":"SocketTest.pdb <span style='color:#111;'> 19.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"obj","children":[{"title":"Debug","children":[{"title":"SocketTest.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"SocketTest.csproj.FileListAbsolute.txt <span style='color:#111;'> 972B </span>","children":null,"spread":false},{"title":"SocketTest.csproj.GenerateResource.Cache <span style='color:#111;'> 789B </span>","children":null,"spread":false},{"title":"Refactor","children":null,"spread":false},{"title":"SocketTest.exe <span style='color:#111;'> 6.50KB </span>","children":null,"spread":false},{"title":"SocketTest.pdb <span style='color:#111;'> 19.50KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Properties","children":[{"title":"Resources.Designer.cs <span style='color:#111;'> 2.78KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false}],"spread":true},{"title":"Program.cs <span style='color:#111;'> 502B </span>","children":null,"spread":false},{"title":"Form1.Designer.cs <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"SocketTest.csproj <span style='color:#111;'> 3.53KB </span>","children":null,"spread":false}],"spread":true},{"title":"ServerForm","children":[{"title":"Server.csproj <span style='color:#111;'> 3.70KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Debug","children":[{"title":"ServerForm.vshost.exe <span style='color:#111;'> 13.99KB </span>","children":null,"spread":false},{"title":"ServerForm.pdb <span style='color:#111;'> 25.50KB </span>","children":null,"spread":false},{"title":"ServerForm.exe <span style='color:#111;'> 10.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"obj","children":[{"title":"Debug","children":[{"title":"Server.csproj.GenerateResource.Cache <span style='color:#111;'> 852B </span>","children":null,"spread":false},{"title":"Server.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"Refactor","children":null,"spread":false},{"title":"ServerForm.ServerForm.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"ServerForm.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"ServerForm.pdb <span style='color:#111;'> 25.50KB </span>","children":null,"spread":false},{"title":"ServerForm.exe <span style='color:#111;'> 10.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Properties","children":[{"title":"Resources.Designer.cs <span style='color:#111;'> 2.78KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false}],"spread":true},{"title":"Program.cs <span style='color:#111;'> 507B </span>","children":null,"spread":false},{"title":"ServerForm.cs <span style='color:#111;'> 3.02KB </span>","children":null,"spread":false},{"title":"ServerForm.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"ServerForm.Designer.cs <span style='color:#111;'> 4.91KB </span>","children":null,"spread":false}],"spread":true},{"title":"Client","children":[{"title":"ClientForm.Designer.cs <span style='color:#111;'> 3.15KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Debug","children":[{"title":"Client.exe <span style='color:#111;'> 9.50KB </span>","children":null,"spread":false},{"title":"Client.pdb <span style='color:#111;'> 25.50KB </span>","children":null,"spread":false},{"title":"Client.vshost.exe <span style='color:#111;'> 13.99KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"obj","children":[{"title":"Debug","children":[{"title":"Client.exe <span style='color:#111;'> 9.50KB </span>","children":null,"spread":false},{"title":"Client.pdb <span style='color:#111;'> 25.50KB </span>","children":null,"spread":false},{"title":"Client.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"Client.ClientForm.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"Client.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"Refactor","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"Client.csproj.GenerateResource.Cache <span style='color:#111;'> 852B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Properties","children":[{"title":"Resources.Designer.cs <span style='color:#111;'> 2.77KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false}],"spread":true},{"title":"Program.cs <span style='color:#111;'> 503B </span>","children":null,"spread":false},{"title":"ClientForm.cs <span style='color:#111;'> 2.79KB </span>","children":null,"spread":false},{"title":"ClientForm.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"Client.csproj <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false}],"spread":true},{"title":"SocketTest.suo <span style='color:#111;'> 12.00KB </span>","children":null,"spread":false},{"title":"SocketTest.sln <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • sg2017918 :
    可能是好东西,可是你也写清楚是用什么语言写的啊,我下载之后都不知道这是啥语言
    2018-02-08
  • u010402517 :
    没下载了,就说我下载了
    2018-01-10
  • u011895262 :
    挺有用,谢谢分享
    2017-06-05
  • xingbin12345 :
    只能借鉴,要是能实现多对一就好了
    2015-05-21
  • u014190757 :
    还行吧,并不是我想要的
    2015-05-20

免责申明

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