C#实现简单的Socket文件传输示例

上传者: qldsrx | 上传时间: 2019-12-21 20:30:03 | 文件大小: 28KB | 文件类型: rar
给刚接触Socket的人学习用的,技术含量不高。为了让新人可以看得懂,代码量很小,力求简单。由于使用了C#3.0的匿名委托,不是VS2008的用户需要自己将匿名委托部分修改后才可以执行,VS2008用户可以直接打开并测试效果。

文件下载

资源详情

[{"title":"( 25 个子文件 28KB ) C#实现简单的Socket文件传输示例","children":[{"title":"Service","children":[{"title":"Service.csproj <span style='color:#111;'> 3.75KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Debug","children":null,"spread":false}],"spread":true},{"title":"Service.csproj.user <span style='color:#111;'> 168B </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"TempPE","children":null,"spread":false}],"spread":true},{"title":"Release","children":[{"title":"Refactor","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"Service.csproj.FileListAbsolute.txt <span style='color:#111;'> 204B </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.39KB </span>","children":null,"spread":false}],"spread":true},{"title":"Program.cs <span style='color:#111;'> 500B </span>","children":null,"spread":false},{"title":"Server.Designer.cs <span style='color:#111;'> 5.08KB </span>","children":null,"spread":false},{"title":"Server.cs <span style='color:#111;'> 4.21KB </span>","children":null,"spread":false},{"title":"Server.resx <span style='color:#111;'> 5.88KB </span>","children":null,"spread":false}],"spread":true},{"title":"Client","children":[{"title":"Form1.cs <span style='color:#111;'> 4.19KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Debug","children":null,"spread":false},{"title":"Release","children":[{"title":"Client.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"obj","children":[{"title":"Debug","children":[{"title":"TempPE","children":null,"spread":false}],"spread":true},{"title":"Release","children":[{"title":"Refactor","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.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.39KB </span>","children":null,"spread":false}],"spread":true},{"title":"Program.cs <span style='color:#111;'> 498B </span>","children":null,"spread":false},{"title":"Form1.Designer.cs <span style='color:#111;'> 7.09KB </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 5.88KB </span>","children":null,"spread":false},{"title":"Client.csproj <span style='color:#111;'> 3.63KB </span>","children":null,"spread":false}],"spread":true},{"title":"WindowsFormsApplication2.suo <span style='color:#111;'> 58.00KB </span>","children":null,"spread":false},{"title":"WindowsFormsApplication2.sln <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false}],"spread":true}]

评论信息

  • aiyige1 :
    不错,可以参考一下!
    2018-09-03
  • hjsuper :
    还可以,借鉴了一下
    2018-04-10
  • 昵称_旗 :
    好好好,简单实用
    2018-03-27
  • chengjufeng4852 :
    3q 可以用就是我更新手
    2018-03-19
  • wanglei_accp :
    还可以!!!!!
    2017-12-18

免责申明

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