-
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
-
99miao-dao-ji-shi
说明: 99秒倒计时器fhajkhflkaj glkajgl hkk (99 miao dao ji shi dakljgn fdkfja fa jflka gaklg )
- 2011-03-17 18:39:09下载
- 积分:1
-
Applied-Software-Risk-Management
this book give detial view on Software Risk Management
- 2013-11-29 02:22:54下载
- 积分:1
-
用Visual Basic编写的,获得指定机器的 IP 地址
用Visual Basic编写的,获得指定机器的 IP 地址-with Visual Basic, was designated machine"s IP address
- 2022-04-12 18:25:13下载
- 积分:1
-
TDLAS_py
TDLAS成像算法,包括福伊特曲线拟合和光谱分析(TDLAS Imaging Algorithms, including Ford Curve Fitting and Spectral Analysis)
- 2020-06-24 16:20:02下载
- 积分:1
-
clock
说明: 使用画线和画圆的技术在窗体中悔之绘制一个带有指针的钟表。通过一个时间计时器,每一秒钟触发一次。使用这样的方式来实现每一秒绘制一次图像。(Drawcircle painted lines and the use of technology in the form of regret on the map with a pointer of the watches. Time through a timer, every second the trigger once. Use this way to achieve an image every second drawing.)
- 2008-10-29 00:28:55下载
- 积分:1
-
USR-WIFI232-Setup
WIFI TEST FILE RS232
- 2013-11-09 03:23:27下载
- 积分:1
-
IP地址格式转换易语言源码,
IP地址格式转换易语言源码,-IP address format conversion easy language source code,
- 2022-08-21 22:49:31下载
- 积分:1
-
Warehouse_Management_program_source_VB_SQL2000.
仓库管理程序源码VB SQL2000.Warehouse Management program source VB SQL2000.(Warehouse Management program source code VB SQL2000.Warehouse Management program source VB SQL2000.)
- 2010-08-11 17:51:55下载
- 积分:1
-
在服务端运行tcp.exe, 在另一台与之在同一network的客户端上运行tcplnk.exe, 规定相同的port, 在服务端上begin, 在客户端上输入...
在服务端运行tcp.exe, 在另一台与之在同一network的客户端上运行tcplnk.exe, 规定相同的port, 在服务端上begin, 在客户端上输入服务器的IP地址,connect, 客户端上编辑框中的字符便可send到客户端的编辑框中。-on the server running tcp.exe, another in the same network with the client running on tcplnk.exe require the same port, on the server begin, the client server on the importation of the IP address, connect, the client on the edit box of the characters can send to the client the editorial box.
- 2022-04-23 23:45:19下载
- 积分:1