文件名称:UDP
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:794byte
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
在两台计算机间完成一个简单的UDP传输。
客户端
(1) 循环从命令行读入一行字符串,并传递给服务器,由服务器对字符串进行反转,并将结果返回给客户端
(2) 客户端显示反转后的字符串
(3) 当客户按下“delete”健后,关闭套接字,结束程序
服务器端
(1) 收到客户端数据包,首先验证数据包源地址是否合法
(2) 接收客户的数据,并显示客户的IP地址和端口号
(3) 接收客户传来的字符串,反转后传递给客户
-Between the two computers to complete a simple UDP transport. Client (1) loop reads a line from the command line string and passed to the server, from server to reverse the string and returns the results to the client (2) the client to display the string after the reverse (3 ) When the customer hits the " delete" health, close the socket, the end of the program server (1) the client receives the packet, first verify that the packet source address is valid (2) to receive customer data, and displays the customer' s IP address and port number (3) to receive a string of customers came, after the reverse pass to the customer
客户端
(1) 循环从命令行读入一行字符串,并传递给服务器,由服务器对字符串进行反转,并将结果返回给客户端
(2) 客户端显示反转后的字符串
(3) 当客户按下“delete”健后,关闭套接字,结束程序
服务器端
(1) 收到客户端数据包,首先验证数据包源地址是否合法
(2) 接收客户的数据,并显示客户的IP地址和端口号
(3) 接收客户传来的字符串,反转后传递给客户
-Between the two computers to complete a simple UDP transport. Client (1) loop reads a line from the command line string and passed to the server, from server to reverse the string and returns the results to the client (2) the client to display the string after the reverse (3 ) When the customer hits the " delete" health, close the socket, the end of the program server (1) the client receives the packet, first verify that the packet source address is valid (2) to receive customer data, and displays the customer' s IP address and port number (3) to receive a string of customers came, after the reverse pass to the customer
(系统自动生成,下载前可以参看下载内容)
下载文件列表
UDP.txt
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。