C# socket发送(接收)文件

上传者: raining1127 | 上传时间: 2021-05-16 18:41:02 | 文件大小: 80KB | 文件类型: RAR
C#使用socket发送(接收)文件的程序,任何文件均可。 其中SingleSendForm是一次发送一个文件,MultiSendForm可以一次选择多个文件,然后依次发送。

文件下载

资源详情

[{"title":"( 40 个子文件 80KB ) C# socket发送(接收)文件","children":[{"title":"FileSender","children":[{"title":"FileSender.sln <span style='color:#111;'> 920B </span>","children":null,"spread":false},{"title":"FileSender","children":[{"title":"SingleSendForm.resx <span style='color:#111;'> 5.88KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Debug","children":[{"title":"FileSender.pdb <span style='color:#111;'> 53.50KB </span>","children":null,"spread":false},{"title":"FileSender.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"FileSender.exe <span style='color:#111;'> 20.50KB </span>","children":null,"spread":false},{"title":"FileSender.vshost.exe <span style='color:#111;'> 13.99KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Form1.Designer.cs <span style='color:#111;'> 10.13KB </span>","children":null,"spread":false},{"title":"MultiSendForm.cs <span style='color:#111;'> 5.08KB </span>","children":null,"spread":false},{"title":"SocketHelper.cs <span style='color:#111;'> 6.33KB </span>","children":null,"spread":false},{"title":"Form2.resx <span style='color:#111;'> 5.88KB </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 500B </span>","children":null,"spread":false},{"title":"SingleSendForm.cs <span style='color:#111;'> 4.85KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"FileSender.pdb <span style='color:#111;'> 53.50KB </span>","children":null,"spread":false},{"title":"FileSender.MultiSendForm.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"FileSender.Form1.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"FileSender.Form2.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"FileSender.exe <span style='color:#111;'> 20.50KB </span>","children":null,"spread":false},{"title":"FileSender.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"FileSender.MultiSend.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"FileSender.csproj.FileListAbsolute.txt <span style='color:#111;'> 740B </span>","children":null,"spread":false},{"title":"Refactor","children":null,"spread":false},{"title":"FileSender.csproj.GenerateResource.Cache <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"FileSender.SingleSendForm.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"MultiSend.Designer.cs <span style='color:#111;'> 10.09KB </span>","children":null,"spread":false},{"title":"SingleSendForm.Designer.cs <span style='color:#111;'> 10.13KB </span>","children":null,"spread":false},{"title":"MultiSend.cs <span style='color:#111;'> 5.07KB </span>","children":null,"spread":false},{"title":"SocketSend.cs <span style='color:#111;'> 1016B </span>","children":null,"spread":false},{"title":"Form2.cs <span style='color:#111;'> 615B </span>","children":null,"spread":false},{"title":"Form1.cs <span style='color:#111;'> 4.84KB </span>","children":null,"spread":false},{"title":"FileSender.csproj <span style='color:#111;'> 4.17KB </span>","children":null,"spread":false},{"title":"Form2.Designer.cs <span style='color:#111;'> 7.90KB </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 5.88KB </span>","children":null,"spread":false},{"title":"MultiSendForm.resx <span style='color:#111;'> 5.88KB </span>","children":null,"spread":false},{"title":"MultiSend.resx <span style='color:#111;'> 5.88KB </span>","children":null,"spread":false},{"title":"MultiSendForm.Designer.cs <span style='color:#111;'> 10.10KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.80KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"FileSender.suo <span style='color:#111;'> 29.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • morlong :
    很好用,基本改改就能用。就是每次发送一个文件都需要重新和服务器建立一次连接,所以经常出现断开连接情况。建议连接和发送分开
    2017-09-21
  • 基友来砍我 :
    还行,发送接收文件没有出错
    2016-06-15
  • taurusboy :
    代码不错,但不适合我,~~~~(&gt;_&lt;)~~~~
    2016-01-06
  • L602871542 :
    不错。可以好好学习学习
    2015-12-02
  • 痞子瘬 :
    简单易懂,有一定参考价值 .
    2015-11-26

免责申明

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