[免积分]C# Socket 异步双工通讯示例

上传者: hey_buddy_iamback | 上传时间: 2019-12-21 19:52:15 | 文件大小: 212KB | 文件类型: zip
C# Socket异步双工通讯示例; 含源代码,使用VS2013开发

文件下载

资源详情

[{"title":"( 93 个子文件 212KB ) [免积分]C# Socket 异步双工通讯示例","children":[{"title":"SocketDemo","children":[{"title":"Code","children":[{"title":"SocketClient","children":[{"title":"SocketClient.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"SocketClient.cs <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Debug","children":[{"title":"SocketClient.pdb <span style='color:#111;'> 27.50KB </span>","children":null,"spread":false},{"title":"SocketClient.exe.config <span style='color:#111;'> 187B </span>","children":null,"spread":false},{"title":"SocketClient.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"SocketClient.vshost.exe.config <span style='color:#111;'> 187B </span>","children":null,"spread":false},{"title":"SocketClient.vshost.exe <span style='color:#111;'> 23.66KB </span>","children":null,"spread":false},{"title":"SocketClient.exe <span style='color:#111;'> 14.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"Release","children":[{"title":"SocketClient.pdb <span style='color:#111;'> 25.50KB </span>","children":null,"spread":false},{"title":"SocketClient.exe.config <span style='color:#111;'> 187B </span>","children":null,"spread":false},{"title":"SocketClient.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"SocketClient.vshost.exe.config <span style='color:#111;'> 187B </span>","children":null,"spread":false},{"title":"SocketClient.vshost.exe <span style='color:#111;'> 23.66KB </span>","children":null,"spread":false},{"title":"SocketClient.exe <span style='color:#111;'> 14.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"obj","children":[{"title":"Debug","children":[{"title":"SocketClient.pdb <span style='color:#111;'> 27.50KB </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"SocketClient.SocketClient.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"SocketClient.csproj.GenerateResource.Cache <span style='color:#111;'> 984B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.67KB </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"SocketClient.exe <span style='color:#111;'> 14.50KB </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"SocketClient.csproj.FileListAbsolute.txt <span style='color:#111;'> 527B </span>","children":null,"spread":false},{"title":"SocketClient.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false}],"spread":false},{"title":"Release","children":[{"title":"SocketClient.pdb <span style='color:#111;'> 25.50KB </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"SocketClient.csprojResolveAssemblyReference.cache <span style='color:#111;'> 2.09KB </span>","children":null,"spread":false},{"title":"SocketClient.SocketClient.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"SocketClient.csproj.GenerateResource.Cache <span style='color:#111;'> 984B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.69KB </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"SocketClient.exe <span style='color:#111;'> 14.00KB </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"SocketClient.csproj.FileListAbsolute.txt <span style='color:#111;'> 3.30KB </span>","children":null,"spread":false},{"title":"SocketClient.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"SocketClient.csproj <span style='color:#111;'> 3.75KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Resources.Designer.cs <span style='color:#111;'> 2.79KB </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;'> 542B </span>","children":null,"spread":false},{"title":"SocketClient.v12.suo <span style='color:#111;'> 44.50KB </span>","children":null,"spread":false},{"title":"App.config <span style='color:#111;'> 187B </span>","children":null,"spread":false},{"title":"SocketClient.sln <span style='color:#111;'> 992B </span>","children":null,"spread":false},{"title":"SocketClient.Designer.cs <span style='color:#111;'> 10.80KB </span>","children":null,"spread":false}],"spread":false},{"title":"SocketServer","children":[{"title":"SocketServer.sln <span style='color:#111;'> 992B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Release","children":[{"title":"SocketServer.pdb <span style='color:#111;'> 27.50KB </span>","children":null,"spread":false},{"title":"SocketServer.vshost.exe <span style='color:#111;'> 23.66KB </span>","children":null,"spread":false},{"title":"SocketServer.vshost.exe.config <span style='color:#111;'> 187B </span>","children":null,"spread":false},{"title":"SocketServer.exe <span style='color:#111;'> 16.00KB </span>","children":null,"spread":false},{"title":"SocketServer.exe.config <span style='color:#111;'> 187B </span>","children":null,"spread":false},{"title":"SocketServer.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"SocketServer.csproj <span style='color:#111;'> 3.74KB </span>","children":null,"spread":false},{"title":"SocketServer.v12.suo <span style='color:#111;'> 66.50KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"SocketServer.pdb <span style='color:#111;'> 29.50KB </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 1.70KB </span>","children":null,"spread":false},{"title":"SocketServer.ServerForm.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.75KB </span>","children":null,"spread":false},{"title":"SocketServer.exe <span style='color:#111;'> 16.50KB </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"SocketServer.csproj.GenerateResource.Cache <span style='color:#111;'> 982B </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"SocketServer.csproj.FileListAbsolute.txt <span style='color:#111;'> 3.00KB </span>","children":null,"spread":false},{"title":"SocketServer.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false}],"spread":false},{"title":"Release","children":[{"title":"SocketServer.pdb <span style='color:#111;'> 27.50KB </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"SocketServer.csprojResolveAssemblyReference.cache <span style='color:#111;'> 3.70KB </span>","children":null,"spread":false},{"title":"SocketServer.ServerForm.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.69KB </span>","children":null,"spread":false},{"title":"SocketServer.exe <span style='color:#111;'> 16.00KB </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"SocketServer.csproj.GenerateResource.Cache <span style='color:#111;'> 982B </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"SocketServer.csproj.FileListAbsolute.txt <span style='color:#111;'> 2.30KB </span>","children":null,"spread":false},{"title":"SocketServer.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"Properties","children":[{"title":"Resources.Designer.cs <span style='color:#111;'> 2.79KB </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;'> 540B </span>","children":null,"spread":false},{"title":"ServerForm.cs <span style='color:#111;'> 10.49KB </span>","children":null,"spread":false},{"title":"ServerForm.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"SocketServer.csproj.user <span style='color:#111;'> 453B </span>","children":null,"spread":false},{"title":"App.config <span style='color:#111;'> 187B </span>","children":null,"spread":false},{"title":"ServerForm.Designer.cs <span style='color:#111;'> 11.01KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"Release","children":[{"title":"SocketServer.exe <span style='color:#111;'> 16.00KB </span>","children":null,"spread":false},{"title":"SocketClient.exe <span style='color:#111;'> 14.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • shaozhituertoujianan :
    还行,凑合用,能看懂
    2020-04-28
  • jy251 :
    看了下,感觉有点问题,如果单次客户端send的数据过大,那么单次server的receive接受不完整,岂不是在你的server端判断就会出问题?你的server端定义了buffer的大小为8192,
    2019-08-15
  • ivanwu1020 :
    非常棒的演示,非常受益
    2019-06-19
  • 冬暖夏凉的哇塞 :
    试过了非常好用。感谢!
    2018-08-16
  • paizhangwudi110 :
    非常好,受益了
    2017-05-15

免责申明

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