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