vb.net通过socket实现简易多人聊天室(含心跳检测机制)

上传者: 42297324 | 上传时间: 2021-03-09 14:18:07 | 文件大小: 185KB | 文件类型: ZIP
语言vb.net (c#可以参考)+winform开发,利用socket进行多个客户端通信实现简易的聊天室,为了保证客户端与服务端连接正常,增加心跳检测机制、客户端定时断开超时未发送心跳包的客户端机制。 界面比较粗糙,仅供学习socket者参考

文件下载

资源详情

[{"title":"( 54 个子文件 185KB ) vb.net通过socket实现简易多人聊天室(含心跳检测机制)","children":[{"title":"vb.net利用socket创建简易多人聊天室","children":[{"title":"ChatServer","children":[{"title":"ChatServer","children":[{"title":"ChatServer.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Release","children":null,"spread":false},{"title":"Debug","children":[{"title":"ChatServer.pdb <span style='color:#111;'> 51.50KB </span>","children":null,"spread":false},{"title":"ChatServer.xml <span style='color:#111;'> 672B </span>","children":null,"spread":false},{"title":"ChatServer.exe <span style='color:#111;'> 38.50KB </span>","children":null,"spread":false},{"title":"ChatServer.vshost.exe <span style='color:#111;'> 23.65KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"ChatServer.vb <span style='color:#111;'> 11.04KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"ChatServer.pdb <span style='color:#111;'> 51.50KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 7.15KB </span>","children":null,"spread":false},{"title":"ChatServer.xml <span style='color:#111;'> 672B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"ChatServer.exe <span style='color:#111;'> 38.50KB </span>","children":null,"spread":false},{"title":"TempPE","children":[{"title":"My Project.Resources.Designer.vb.dll <span style='color:#111;'> 7.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"ChatServer.vbproj.GenerateResource.Cache <span style='color:#111;'> 982B </span>","children":null,"spread":false},{"title":"ChatServer.ChatServer.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"ChatServer.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"ChatServer.vbproj.FileListAbsolute.txt <span style='color:#111;'> 626B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"ChatServer.vbproj <span style='color:#111;'> 5.41KB </span>","children":null,"spread":false},{"title":"My Project","children":[{"title":"Resources.Designer.vb <span style='color:#111;'> 2.72KB </span>","children":null,"spread":false},{"title":"Application.myapp <span style='color:#111;'> 469B </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.Designer.vb <span style='color:#111;'> 2.93KB </span>","children":null,"spread":false},{"title":"Application.Designer.vb <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 279B </span>","children":null,"spread":false},{"title":"AssemblyInfo.vb <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false}],"spread":true},{"title":"ChatServer.Designer.vb <span style='color:#111;'> 5.30KB </span>","children":null,"spread":false}],"spread":true},{"title":"ChatServer.v12.suo <span style='color:#111;'> 42.00KB </span>","children":null,"spread":false},{"title":"ChatServer.sln <span style='color:#111;'> 999B </span>","children":null,"spread":false}],"spread":true},{"title":"ChatClient","children":[{"title":"ChatClient","children":[{"title":"bin","children":[{"title":"Release","children":null,"spread":false},{"title":"Debug","children":[{"title":"ChatClient.pdb <span style='color:#111;'> 49.50KB </span>","children":null,"spread":false},{"title":"ChatClient.vshost.exe <span style='color:#111;'> 23.65KB </span>","children":null,"spread":false},{"title":"ChatClient.exe <span style='color:#111;'> 37.50KB </span>","children":null,"spread":false},{"title":"ChatClient.xml <span style='color:#111;'> 672B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"obj","children":[{"title":"Debug","children":[{"title":"ChatClient.pdb <span style='color:#111;'> 49.50KB </span>","children":null,"spread":false},{"title":"ChatClient.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"ChatClient.vbproj.GenerateResource.Cache <span style='color:#111;'> 986B </span>","children":null,"spread":false},{"title":"ChatClient.vbproj.FileListAbsolute.txt <span style='color:#111;'> 626B </span>","children":null,"spread":false},{"title":"ChatClient.exe <span style='color:#111;'> 37.50KB </span>","children":null,"spread":false},{"title":"ChatClient.ChatClient.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.50KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 1008B </span>","children":null,"spread":false},{"title":"TempPE","children":[{"title":"My Project.Resources.Designer.vb.dll <span style='color:#111;'> 7.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"ChatClient.xml <span style='color:#111;'> 672B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"ChatClientForm.vb <span style='color:#111;'> 6.56KB </span>","children":null,"spread":false},{"title":"ChatClient.vbproj <span style='color:#111;'> 5.12KB </span>","children":null,"spread":false},{"title":"ChatClientForm.Designer.vb <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"My Project","children":[{"title":"Resources.Designer.vb <span style='color:#111;'> 2.72KB </span>","children":null,"spread":false},{"title":"Application.myapp <span style='color:#111;'> 469B </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.Designer.vb <span style='color:#111;'> 2.93KB </span>","children":null,"spread":false},{"title":"Application.Designer.vb <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 279B </span>","children":null,"spread":false},{"title":"AssemblyInfo.vb <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false}],"spread":true},{"title":"ChatClientForm.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false}],"spread":true},{"title":"ChatClient.v12.suo <span style='color:#111;'> 38.00KB </span>","children":null,"spread":false},{"title":"ChatClient.sln <span style='color:#111;'> 999B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • sjmlove :
    学习学习,能跑起来
    2020-10-01

免责申明

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