-
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
-
ASP服务器小程序,可做中型个人或企业网站。
ASP服务器小程序,可做中型个人或企业网站。-ASP server applets, do medium-sized personal or corporate sites.
- 2022-07-20 21:56:24下载
- 积分:1
-
自动网络升级的代码
自动网络升级的代码-Automatic network upgrade code
- 2022-03-25 15:47:50下载
- 积分:1
-
windows 下的网络数据解析工具,vc++环境,支持tcp,upd,port选择
windows 下的网络数据解析工具,vc++环境,支持tcp,upd,port选择-windows of network data analysis tool vc environment to support tcp, upd. port options
- 2022-03-12 07:19:33下载
- 积分:1
-
compilation was made out of the cd
汇编写的cd_rom进出.rar-compilation was made out of the cd-rom. Rar
- 2022-10-12 21:00:03下载
- 积分:1
-
一个C#写的IOCP(完成接口)的示例程序,明确的写出了实现IOCP的核心算法。有研究服务器端高效编程的程序员,可以参考一下。...
一个C#写的IOCP(完成接口)的示例程序,明确的写出了实现IOCP的核心算法。有研究服务器端高效编程的程序员,可以参考一下。-A C# written in IOCP (complete interface) of the sample programs and clear the heart to write algorithms to achieve IOCP. Studies have high-performance server-side programming programmer, you can reference.
- 2022-01-26 02:14:10下载
- 积分:1
-
The program demostrates the ability to download a Web Resource using Java Networ...
The program demostrates the ability to download a Web Resource using Java Network and I/o Package classes
- 2022-07-23 09:05:52下载
- 积分:1
-
Can complete a basic web browser HTTP protocol like students to master knowledge...
可以完成基本的网页浏览似的学生掌握HTTP协议的相关知识,加深对客户/服务器的工作模式的认识,并进一步锻炼学生的网络软件编程能力和解决实际问题的能力。-Can complete a basic web browser HTTP protocol like students to master knowledge, deepen their understanding of client/server mode of understanding and to further our students the capacity and network software programming to solve practical problems.
- 2022-07-11 13:21:02下载
- 积分:1
-
说明的是用在客户端输入两个数字,在服务器端实现其加法运算,然后返回结果给客户端的socket例子,此例子经过本人的调试通过。欢迎大家享用。...
说明的是用在客户端输入两个数字,在服务器端实现其加法运算,然后返回结果给客户端的socket例子,此例子经过本人的调试通过。欢迎大家享用。-descriptions are used in the importation of two client figures on the server side to achieve its addition operations, then return to the findings to the client socket example, the example I read through the debugger. You are welcome to enjoy.
- 2022-04-25 14:34:16下载
- 积分:1
-
under linux on the C programming, which includes a socket several examples of us...
这是linux下关于C的编程,其中包含了socket的几种用法的例子,有udp、tcp以及select的使用。-under linux on the C programming, which includes a socket several examples of usage, udp, tcp and select use.
- 2022-06-19 13:49:56下载
- 积分:1