C#通过Socket发送Object对象,序列化,反序列化

上传者: luyugao | 上传时间: 2020-02-08 03:06:33 | 文件大小: 115KB | 文件类型: rar
这是一个用C#写的Socket服务器和客户端,当然Socket服务器和客户端不是主要的(有兴趣的朋友可以参考下),主要的内容是介绍如何通过这种Socket方式发送Object对象。 作者博客 http://luyugao.com

文件下载

资源详情

[{"title":"( 58 个子文件 115KB ) C#通过Socket发送Object对象,序列化,反序列化","children":[{"title":"卢雨高的博客.url <span style='color:#111;'> 202B </span>","children":null,"spread":false},{"title":"SendObject","children":[{"title":"卢雨高的博客.url <span style='color:#111;'> 202B </span>","children":null,"spread":false},{"title":"Client","children":[{"title":"bin","children":[{"title":"Release","children":null,"spread":false},{"title":"Debug","children":[{"title":"Client.pdb <span style='color:#111;'> 33.50KB </span>","children":null,"spread":false},{"title":"Client.vshost.exe <span style='color:#111;'> 11.34KB </span>","children":null,"spread":false},{"title":"User.dll <span style='color:#111;'> 4.00KB </span>","children":null,"spread":false},{"title":"Client.exe <span style='color:#111;'> 16.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Program.cs <span style='color:#111;'> 468B </span>","children":null,"spread":false},{"title":"Client.Designer.cs <span style='color:#111;'> 13.79KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"x86","children":[{"title":"Debug","children":[{"title":"Client.pdb <span style='color:#111;'> 33.50KB </span>","children":null,"spread":false},{"title":"Client.csproj.FileListAbsolute.txt <span style='color:#111;'> 691B </span>","children":null,"spread":false},{"title":"Client.csproj.GenerateResource.Cache <span style='color:#111;'> 976B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 5.29KB </span>","children":null,"spread":false},{"title":"Client.Client.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"Client.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"Client.csprojResolveAssemblyReference.cache <span style='color:#111;'> 4.16KB </span>","children":null,"spread":false},{"title":"Client.exe <span style='color:#111;'> 16.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"Client.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"Client.cs <span style='color:#111;'> 8.06KB </span>","children":null,"spread":false},{"title":"Client.csproj <span style='color:#111;'> 3.55KB </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.31KB </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":true}],"spread":true},{"title":"SendObject","children":[{"title":"bin","children":[{"title":"Release","children":null,"spread":false},{"title":"Debug","children":[{"title":"SendObject.pdb <span style='color:#111;'> 33.50KB </span>","children":null,"spread":false},{"title":"SendObject.vshost.exe <span style='color:#111;'> 11.34KB </span>","children":null,"spread":false},{"title":"SendObject.exe <span style='color:#111;'> 14.50KB </span>","children":null,"spread":false},{"title":"User.dll <span style='color:#111;'> 4.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"FServer.Designer.cs <span style='color:#111;'> 5.14KB </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 473B </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"x86","children":[{"title":"Debug","children":[{"title":"SendObject.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"SendObject.pdb <span style='color:#111;'> 33.50KB </span>","children":null,"spread":false},{"title":"SendObject.exe <span style='color:#111;'> 14.50KB </span>","children":null,"spread":false},{"title":"SendObject.csproj.FileListAbsolute.txt <span style='color:#111;'> 756B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 5.31KB </span>","children":null,"spread":false},{"title":"SendObject.FServer.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 789B </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"SendObject.csprojResolveAssemblyReference.cache <span style='color:#111;'> 4.17KB </span>","children":null,"spread":false},{"title":"SendObject.csproj.GenerateResource.Cache <span style='color:#111;'> 977B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"SendObject.csproj <span style='color:#111;'> 3.56KB </span>","children":null,"spread":false},{"title":"FServer.resx <span style='color:#111;'> 5.68KB </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.32KB </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":true},{"title":"FServer.cs <span style='color:#111;'> 11.44KB </span>","children":null,"spread":false}],"spread":true},{"title":"SendObject.sln <span style='color:#111;'> 3.41KB </span>","children":null,"spread":false},{"title":"SendObject.suo <span style='color:#111;'> 28.50KB </span>","children":null,"spread":false},{"title":"User","children":[{"title":"bin","children":[{"title":"Debug","children":[{"title":"User.pdb <span style='color:#111;'> 11.50KB </span>","children":null,"spread":false},{"title":"User.dll <span style='color:#111;'> 4.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"obj","children":[{"title":"Debug","children":[{"title":"User.pdb <span style='color:#111;'> 11.50KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 4.92KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"User.dll <span style='color:#111;'> 4.00KB </span>","children":null,"spread":false},{"title":"User.csproj.FileListAbsolute.txt <span style='color:#111;'> 268B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"User.csproj <span style='color:#111;'> 2.06KB </span>","children":null,"spread":false},{"title":"Class1.cs <span style='color:#111;'> 775B </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • licheng466168 :
    确实是非常好的资源!
    2018-02-05
  • lihao711 :
    资源很一般,去网上搜一个 ByteConvertHelper 到处都是,3分一点不值
    2017-07-05
  • snskip :
    谢谢楼主,很有参考价值!
    2016-12-23
  • zhrq1990 :
    非常有帮助
    2016-12-08
  • 刘亦歆 :
    函数可以直接用,不用改
    2016-09-26

免责申明

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