登录
首页 » Windows Socket编程 » 这里是我自己学习winsocket2 编程序时候所写的一个聊天室的程序,程序是一步一步完善过来的。 ChartSrv是服务器端 ChartCLie...

这里是我自己学习winsocket2 编程序时候所写的一个聊天室的程序,程序是一步一步完善过来的。 ChartSrv是服务器端 ChartCLie...

于 2022-07-04 发布 文件大小:109.52 kB
0 43
下载积分: 2 下载次数: 1

代码说明:

这里是我自己学习winsocket2 编程序时候所写的一个聊天室的程序,程序是一步一步完善过来的。 ChartSrv是服务器端 ChartCLient是客户端(可以开多个) 由于里面加入了获取hostname的东西所以速度有点慢,可以注释掉直接使用IP通信就快了。 代码展示了socket2的异步通信的实现,有兴趣的可以一起学习。-Here is my own time learning winsocket2 programmed written by a chat room procedures step by step procedure is to improve overnight. ChartSrv is a server-side ChartCLient the client (can be opened more than) as a result of which joined the hostname to obtain the speed of things so a bit slow, you can comment out the direct use of IP communications on faster. Code demonstrates the socket2 realize asynchronous communication, are interested in learning together.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696524资源总数
  • 103939会员总数
  • 12今日下载