文件名称:code
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
客户机产生两个随机数,发给两个服务器。服务器1(IP地址:192.168.0.1,Port:3254)将这两个随机数相加;服务器2(IP地址:192.168.0.10,Port:3255)将这两个随机数相减。两个服务器分别将运算结果返回给客户机,客户机显示回传结果。
要求用TCP和UDP方式分别实现。
-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. Requested by way of TCP and UDP respectively.
要求用TCP和UDP方式分别实现。
-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. Requested by way of TCP and UDP respectively.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
code
....\tcp_client.c
....\tcp_server1.c
....\tcp_server2.c
....\udp_client.c
....\udp_server1.c
....\udp_server2.c
....\tcp_client.c
....\tcp_server1.c
....\tcp_server2.c
....\udp_client.c
....\udp_server1.c
....\udp_server2.c