文件名称:code
介绍说明--下载内容均来自于网络,请自行研究使用
进程通信的多方法实现。客户机产生两个随机数,发给两个服务器。服务器1(IP地址:192.168.0.1,Port:3254)将这两个随机数相加;服务器2(IP地址:192.168.0.10,Port:3255)将这两个随机数相减。两个服务器分别将运算结果返回给客户机,客户机显示回传结果。
要求用UDP方式,命名管道方式和命名的UNIX域套接字分别实现。
-Multi-process communication method. 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. UDP request methods methods and Named Pipes named UNIX domain socket, respectively, to achieve.
要求用UDP方式,命名管道方式和命名的UNIX域套接字分别实现。
-Multi-process communication method. 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. UDP request methods methods and Named Pipes named UNIX domain socket, respectively, to achieve.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
code
....\fifo
....\....\fifo_client.c
....\....\fifo_server1.c
....\....\fifo_server2.c
....\unix
....\....\unix_client.c
....\....\unix_server1.c
....\....\unix_server2.c
....\fifo
....\....\fifo_client.c
....\....\fifo_server1.c
....\....\fifo_server2.c
....\unix
....\....\unix_client.c
....\....\unix_server1.c
....\....\unix_server2.c