文件名称:code
介绍说明--下载内容均来自于网络,请自行研究使用
基于非阻塞I/O方式的网络通信。客户机产生两个随机数,发给两个服务器。服务器1(IP地址:192.168.0.1,Port:3254)将这两个随机数相加;服务器2(IP地址:192.168.0.10,Port:3255)将这两个随机数相减。两个服务器分别将运算结果返回给客户机,客户机显示回传结果。
要求用非阻塞I/O方式实现。
-Based on non-blocking I/O modes of network communications. Client two random numbers generated, distributed to the two servers. Server 1 (IP address: 192.168.0.1, Port: 3254) the sum of the two random numbers Server 2 (IP address: 192.168.0.10, Port: 3255) to subtract the two random numbers. Two servers, respectively, computing the results back to the client, the client returns the results show. Require non-blocking I/O means.
要求用非阻塞I/O方式实现。
-Based on non-blocking I/O modes of network communications. Client two random numbers generated, distributed to the two servers. Server 1 (IP address: 192.168.0.1, Port: 3254) the sum of the two random numbers Server 2 (IP address: 192.168.0.10, Port: 3255) to subtract the two random numbers. Two servers, respectively, computing the results back to the client, the client returns the results show. Require non-blocking I/O means.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
code
....\io_client.c
....\io_server1.c
....\io_server2.c
....\io_client.c
....\io_server1.c
....\io_server2.c