登录
首页 » Windows Socket编程 » 多进程并发服务器。该程序等候客户连接,一旦连接则显示客户的地址,接着接收该客户的名字并显示。然后接收来自该客户的信息(字符串)。每当收到一个字符串,则显示该字符...

多进程并发服务器。该程序等候客户连接,一旦连接则显示客户的地址,接着接收该客户的名字并显示。然后接收来自该客户的信息(字符串)。每当收到一个字符串,则显示该字符...

于 2022-01-28 发布 文件大小:1.49 kB
0 70
下载积分: 2 下载次数: 1

代码说明:

多进程并发服务器。该程序等候客户连接,一旦连接则显示客户的地址,接着接收该客户的名字并显示。然后接收来自该客户的信息(字符串)。每当收到一个字符串,则显示该字符串,并将字符串反转,再将反转的字符发回客户。之后,继续等待接收该客户的信息直至该客户关闭连接。服务器具有同时处理多客户的能力。-more complicated process server. The procedure for connecting customers, once the connection is shown to the customer address, and then receive the customer"s name and display. Before receiving from the customer"s information (string). Whenever received a string, it shows that the string, the string will be inverted, and then reverse the characters back customers. Continue, after waiting for the customer to receive the information until the customer close the connection. Servers simultaneously with the ability to more customers.

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

发表评论

0 个回复

  • 696522资源总数
  • 104027会员总数
  • 45今日下载