-
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
-
MTSServer this procedure and the use of Hopewell, MTSServer
此程序和MTSServer本合使用,MTSServer是服务端程序,该程序很好的说明了网络客户如何通过TCP连接到服务器,并通过密码验证方法传送多个文件-MTSServer this procedure and the use of Hopewell, MTSServer-service procedures, the procedures for a good reminder of how the customer network through TCP connection to the server, and through password verification means of transmission multiple files
- 2022-01-30 17:41:29下载
- 积分:1
-
用dreamweaver搭的商业化网站框架,简单框架。可以修改一下应用...
用dreamweaver搭的商业化网站框架,简单框架。可以修改一下应用-Dreamweaver ride with the commercial site of the framework, a simple framework. You can modify the application of
- 2022-11-29 12:55:04下载
- 积分:1
-
两台机器间的串口通讯,介绍了两台主机之间的串口通迅
两台机器间的串口通讯,介绍了两台主机之间的串口通迅-between the two machines serial communications, introduced the console between the two serial communications
- 2022-08-16 09:21:56下载
- 积分:1
-
目前,已经有不少的Sniff工具软件,如Windows环境下,最富盛名的工具是Netxray和Sniffer pro,用它们在 Windows环境下抓包来分析,...
目前,已经有不少的Sniff工具软件,如Windows环境下,最富盛名的工具是Netxray和Sniffer pro,用它们在 Windows环境下抓包来分析,非常方便。在UNIX环境下如Sniffit,Snoop,Tcpdump,Dsniff 等都是比较常见的。这里介绍一个用C语言和网络数据包和分析开发工具libpcap及winpcap实现的简易网络Sniffer。-Currently, there have been numerous Sniff software tools, such as the Windows environment, the most famous tool is the Sniffer pro Netxray and use them in the Windows environment capturing Packet analysis, very convenient. In the UNIX environment as Sniffit, Snoop, Tcpdump, such as Dsniff are relatively common. Presented here with a C language and network packet analysis and the development of tools to achieve libpcap and winpcap Simple Network Sniffer.
- 2022-06-14 10:15:08下载
- 积分:1
-
udp传输GPS数据,功能齐全,可做参考,运行成功,大家可以
udp传输GPS数据,功能齐全,可做参考,运行成功,大家可以-udp transfer GPS data, functions, reference can be run successfully, we can
- 2023-01-28 18:05:03下载
- 积分:1
-
漂亮的图形化的PING:)
漂亮的图形化的PING:)-beautiful graphics of PING :)
- 2022-05-16 04:57:27下载
- 积分:1
-
一个用VC编写的Ping 多线程程序。
一个用VC编写的Ping 多线程程序。-a VC prepared by the Ping multithreaded programming.
- 2022-07-25 15:08:16下载
- 积分:1
-
本源文件是tcp的连接程序,可以当服务端或客户端,包括连接、收发数据等功能,在所有过程出错处理都较好。...
本源文件是tcp的连接程序,可以当服务端或客户端,包括连接、收发数据等功能,在所有过程出错处理都较好。-origin of the document is tcp connections and can be a server or client, including connections, sending and receiving data and other functions, in all processes are better error handling.
- 2023-02-08 06:55:03下载
- 积分:1
-
顾名思义一个可视电话的程序,不过没有条件做实验。
顾名思义一个可视电话的程序,不过没有条件做实验。-As the name suggests a visual telephone procedures, but I did not do the experiment conditions.
- 2022-03-25 07:03:52下载
- 积分:1