C#TCP服务器和客户端Winform源代码

上传者: 39585055 | 上传时间: 2019-12-21 20:51:11 | 文件大小: 118KB | 文件类型: rar
C#TCP服务器和客户端Winform源代码,基于.net4.0开发的两个窗体简单的应用程序,能自由收发信号。自己在学习的时候,按网上敲出来的代码关闭时老报错,自己根据学习是的经验整合出来的代码,程序代码有注释,适合于C#TCP入门级新手参考。

文件下载

资源详情

[{"title":"( 81 个子文件 118KB ) C#TCP服务器和客户端Winform源代码","children":[{"title":"TcpTest--V1.0","children":[{"title":"TcpClientTest","children":[{"title":"bin","children":[{"title":"Release","children":null,"spread":false},{"title":"Debug","children":[{"title":"TcpTest.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"TcpClient.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"TcpClient.vshost.exe <span style='color:#111;'> 11.32KB </span>","children":null,"spread":false},{"title":"TcpClient.pdb <span style='color:#111;'> 29.50KB </span>","children":null,"spread":false},{"title":"TcpServer.vshost.exe.config <span style='color:#111;'> 144B </span>","children":null,"spread":false},{"title":"TcpClient.exe.config <span style='color:#111;'> 144B </span>","children":null,"spread":false},{"title":"TcpClient.vshost.exe.config <span style='color:#111;'> 144B </span>","children":null,"spread":false},{"title":"TcpClient.exe <span style='color:#111;'> 15.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Program.cs <span style='color:#111;'> 502B </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"x86","children":[{"title":"Debug","children":[{"title":"TcpClient.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"TcpClient.csproj.GenerateResource.Cache <span style='color:#111;'> 983B </span>","children":null,"spread":false},{"title":"TcpServerTest.FormTcpServer.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"TcpClient.pdb <span style='color:#111;'> 29.50KB </span>","children":null,"spread":false},{"title":"TcpClientTest.csproj.GenerateResource.Cache <span style='color:#111;'> 983B </span>","children":null,"spread":false},{"title":"TcpClientTest.FormTcpClient.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"TcpServer.csproj.GenerateResource.Cache <span style='color:#111;'> 983B </span>","children":null,"spread":false},{"title":"TcpListenerTest.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"TcpListenerTest.Form1.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"TcpListenerTest.csproj.GenerateResource.Cache <span style='color:#111;'> 975B </span>","children":null,"spread":false},{"title":"TcpClientTest.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"TcpServerTest.csproj.GenerateResource.Cache <span style='color:#111;'> 983B </span>","children":null,"spread":false},{"title":"TcpClientTest.FormTcpServer.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"TcpServerTest.csproj.FileListAbsolute.txt <span style='color:#111;'> 728B </span>","children":null,"spread":false},{"title":"TcpListenerTest.csproj.FileListAbsolute.txt <span style='color:#111;'> 658B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.04KB </span>","children":null,"spread":false},{"title":"TcpClient.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"TcpClientTest.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 6.87KB </span>","children":null,"spread":false},{"title":"TempPE","children":[{"title":"Properties.Resources.Designer.cs.dll <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"TcpServerTest.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"TcpClient.FormTcpClient.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"TcpClient.exe <span style='color:#111;'> 15.50KB </span>","children":null,"spread":false},{"title":"TcpServer.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"TcpClientTest.csproj <span style='color:#111;'> 5.40KB </span>","children":null,"spread":false},{"title":"app.config <span style='color:#111;'> 144B </span>","children":null,"spread":false},{"title":"TcpClientTest.sln <span style='color:#111;'> 867B </span>","children":null,"spread":false},{"title":"FormTcpClient.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"FormTcpClient.Designer.cs <span style='color:#111;'> 15.47KB </span>","children":null,"spread":false},{"title":"TcpClientTest.suo <span style='color:#111;'> 17.00KB </span>","children":null,"spread":false},{"title":"FormTcpClient.cs <span style='color:#111;'> 7.52KB </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.09KB </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.80KB </span>","children":null,"spread":false}],"spread":true}],"spread":false},{"title":"TcpServerTest","children":[{"title":"bin","children":[{"title":"Release","children":null,"spread":false},{"title":"Debug","children":[{"title":"TcpTest.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"TcpServer.exe <span style='color:#111;'> 17.50KB </span>","children":null,"spread":false},{"title":"TcpServer.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"TcpServer.pdb <span style='color:#111;'> 31.50KB </span>","children":null,"spread":false},{"title":"TcpServer.vshost.exe.config <span style='color:#111;'> 144B </span>","children":null,"spread":false},{"title":"TcpServer.exe.config <span style='color:#111;'> 144B </span>","children":null,"spread":false},{"title":"TcpServer.vshost.exe <span style='color:#111;'> 11.32KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Program.cs <span style='color:#111;'> 502B </span>","children":null,"spread":false},{"title":"TcpServerTest.csproj <span style='color:#111;'> 5.40KB </span>","children":null,"spread":false},{"title":"FormTcpServer.cs <span style='color:#111;'> 10.46KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"x86","children":[{"title":"Debug","children":[{"title":"TcpServerTest.FormTcpServer.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"TcpServer.exe <span style='color:#111;'> 17.50KB </span>","children":null,"spread":false},{"title":"TcpServer.csproj.GenerateResource.Cache <span style='color:#111;'> 983B </span>","children":null,"spread":false},{"title":"TcpListenerTest.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"TcpListenerTest.Form1.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"TcpListenerTest.csproj.GenerateResource.Cache <span style='color:#111;'> 975B </span>","children":null,"spread":false},{"title":"TcpServerTest.csproj.GenerateResource.Cache <span style='color:#111;'> 983B </span>","children":null,"spread":false},{"title":"TcpServer.pdb <span style='color:#111;'> 31.50KB </span>","children":null,"spread":false},{"title":"TcpServerTest.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":"TcpListenerTest.csproj.FileListAbsolute.txt <span style='color:#111;'> 658B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.04KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 5.85KB </span>","children":null,"spread":false},{"title":"TempPE","children":[{"title":"Properties.Resources.Designer.cs.dll <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"TcpServerTest.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"TcpServer.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"TcpServerTest.sln <span style='color:#111;'> 867B </span>","children":null,"spread":false},{"title":"TcpServerTest.csproj.user <span style='color:#111;'> 478B </span>","children":null,"spread":false},{"title":"FormTcpServer.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"app.config <span style='color:#111;'> 144B </span>","children":null,"spread":false},{"title":"TcpServerTest.suo <span style='color:#111;'> 15.50KB </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.09KB </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.80KB </span>","children":null,"spread":false}],"spread":true},{"title":"FormTcpServer.Designer.cs <span style='color:#111;'> 15.47KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

  • wenlong0601 :
    很好的资料,希望多分享资源
    2021-03-08
  • 我是阿猫啦 :
    不说别的,解决发放什么的是齐全的。值这个50分,目前下的几个代码不是缺少解决方法就是抄写别人。这个是目前找到的比较好的一个
    2020-10-24
  • 小驴丶 :
    代码有注释,很是适合TCP入门新手
    2019-03-07

免责申明

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