-
Client程序同样分别创建一个TCP socket 和一个UDP socket,首先client使用TCP socket连接TCP Server。
连接成...
Client程序同样分别创建一个TCP socket 和一个UDP socket,首先client使用TCP socket连接TCP Server。
连接成功后显示提示信息;
然后client端向TCP Server发送“GET UDP PORT”字符串,Server收到后向client回送自己的UDP Server 端口号(即Client端仅知道TCP Server的端口号而不知道UDP Server的端口号);
client在收到UDP Server的端口号后, 为用户显示3个选项:
1.“Get current time(TCP)”服务器时间
2.“Echo Mode(UDP)”回显6
3.“Exit the program”.
-Client program also creates a TCP socket, respectively, and a UDP socket, the first client to use TCP socket connection TCP Server. After a successful connection displays a prompt message and then client-side to the TCP Server sends " GET UDP PORT" string, Server receipt back to the client to send their UDP Server port number (ie, Client-side only to know the TCP Server" s UDP port number do not know Server" s port number) client received UDP Server port number, in order to the user three options: 1. " Get current time (TCP)" server time 2. " Echo Mode (UDP)" echo 63. " Exit the program" .
- 2023-07-31 00:05:03下载
- 积分:1
-
实验一 BP神经网络数据分类
说明: 采用BP神经网络对文本成绩进行分类,附有成绩文本数据,易于更改。(BP neural network is used to classify text scores, with text data of scores, which is easy to change.)
- 2020-06-16 11:40:01下载
- 积分:1
-
Exercise4
ssd8Exercise4上机作业,代码高效正确,可运行且有说明文档。(ssd8Exercise4 machine operation, efficient code correctly, you can run and there is documentation.)
- 2013-09-24 20:35:51下载
- 积分:1
-
Algorithms.for.Visual.Design.Using.the
Art Processing book
Algorithms.for.Visual.Design.Using.the.Processing.Language.May.2009
- 2014-10-16 10:06:58下载
- 积分:1
-
DH
说明: Diffie-Hellman:一种确保共享KEY安全穿越不安全网络的方法,它是OAKLEY的一个组成部分。Whitefield与Martin Hellman在1976年提出了一个奇妙的密钥交换协议,称为Diffie-Hellman密钥交换协议/算法(Diffie-Hellman Key Exchange/Agreement Algorithm).这个机制的巧妙在于需要安全通信的双方可以用这个方法确定对称密钥。然后可以用这个密钥进行加密和解密。但是注意,这个密钥交换协议/算法只能用于密钥的交换,而不能进行消息的加密和解密。双方确定要用的密钥后,要使用其他对称密钥操作加密算法实际加密和解密消息。(DH Protocol source code)
- 2014-04-16 11:05:46下载
- 积分:1
-
我这次上传动态库的源码及设计文档,其实这网管程序花了我不少精力,既有DBF文件读写,又有SNMP协议, UDP协议, TCP协议,ICMP协议, 算法等等, 有...
我这次上传动态库的源码及设计文档,其实这网管程序花了我不少精力,既有DBF文件读写,又有SNMP协议, UDP协议, TCP协议,ICMP协议, 算法等等, 有的动态库是用VC编的-I upload this DLL source code and design documents, network management procedures fact that I spent a lot of energy on both DBF file read and write, there SNMP, UDP, TCP, ICMP, algorithms, etc., and some DLL is part of the VC
- 2022-01-21 03:05:12下载
- 积分:1
-
DeleteCertainFolderFile
删除指定目录下某种类型的文件,VC++精选编程源码,很好的参考资料。(Delete the specified file is a type of directory, VC++ select programming source code, a good reference.)
- 2013-11-26 09:22:48下载
- 积分:1
-
struts_hibernate
说明: 权限管理系统 struts hibernate( struts hibernate)
- 2009-07-23 10:19:27下载
- 积分:1
-
44ASPnet跳转方法总结
说明: 这个跳转页面的方法跳转的速度不快,因为它要走2个来回(2次postback),但他可以跳 转到任何页面,没有站点页面限制(即可以由雅虎跳到新浪),同时不能跳过登录保护。但速度慢是其最大缺陷!redirect跳转机制:首先是发送一个http请求到客户端,通知需要跳转到新页面,然后客户端在发送跳转请求到服务器端。(Methods the jump page Jump speed is not fast, because it has to go back and forth 2 (2 postback), but he can jump to any page, no web page (which can be restricted by YAHOO at the same time, jump to Sina) can't skip the login protection. But slow speed is its biggest drawback! Redirect jump mechanism: first, send a HTTP request to the client, the notification needs to jump to the new page, and then the client sends the jump request to the server.)
- 2017-06-27 17:18:52下载
- 积分:1
-
HeadFirstDesignPatterns_code102507
这是head first design patterns源码,讲解了java23种设计模式(23 design patterns in Java)
- 2019-07-04 10:16:01下载
- 积分:1