首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 多进程并发服务器。该程序等候客户连接,一旦连接则显示客户的地址,接着接收该客户的名字并显示。然后接收来自该客户的信息(字符串)。每当收到一个字符串,则显示该字符...

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

  • 资源大小:1.49 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: Windows Socket编程 c++

资 源 简 介

多进程并发服务器。该程序等候客户连接,一旦连接则显示客户的地址,接着接收该客户的名字并显示。然后接收来自该客户的信息(字符串)。每当收到一个字符串,则显示该字符串,并将字符串反转,再将反转的字符发回客户。之后,继续等待接收该客户的信息直至该客户关闭连接。服务器具有同时处理多客户的能力。-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.

文 件 列 表

PRG6_3.C
VIP VIP
0.178243s