文件名称:code
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:123.1kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
客户机产生两个随机数,发给两个服务器。服务器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.png
code/tcp_client.c
code/tcp_server1.c
code/tcp_server2.c
code/udp.png
code/udp_client.c
code/udp_server1.c
code/udp_server2.c
code
code/tcp_client.c
code/tcp_server1.c
code/tcp_server2.c
code/udp.png
code/udp_client.c
code/udp_server1.c
code/udp_server2.c
code
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.