-
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
-
Under a command
一个命令行下的嗅探器支持2k/xp/2003 -Under a command-line support 2k/xp/2003 sniffer
- 2022-03-19 01:05:41下载
- 积分:1
-
MFC的扩展动态连接库,可以实现一些简单的FTP功能。对于学习MFC的人来说,是一个不错的例子
MFC的扩展动态连接库,可以实现一些简单的FTP功能。对于学习MFC的人来说,是一个不错的例子-MFC extension DLL, can achieve some simple FTP functions. Learning MFC people, is a good example
- 2023-06-04 05:20:04下载
- 积分:1
-
一个组播接收类, 一个组播接收类。
一个组播接收类, 一个组播接收类。-Category to receive a multicast, a multicast receiver category.
- 2022-03-18 12:14:56下载
- 积分:1
-
HTML transfer to TXT.
HTML transfer to TXT.
- 2022-07-21 22:33:06下载
- 积分:1
-
UDP发送和接收
在Windows环境下,基于VC开发UDP协议的发送和接收实例,这个程序不仅可以学习和了解网络中通信协议的工作,而且对于学习者来说,是一个不错的调试工具。
- 2023-08-11 05:25:04下载
- 积分:1
-
easyhttp.zip 代理软件
easyhttp.zip 代理软件-easyhttp.zip Agent Software
- 2022-01-28 13:13:32下载
- 积分:1
-
C++实例(简单的Windows套接字(Socket)例子).txt
C++实例(简单的Windows套接字(Socket)例子).txt-C++ examples (a simple Windows Sockets (Socket) example). Txt
- 2022-12-13 02:35:03下载
- 积分:1
-
基于Mas2.0的通讯网关源代码,基于tcp/ip和socket,能够接收和发送短信。...
基于Mas2.0的通讯网关源代码,基于tcp/ip和socket,能够接收和发送短信。-Based on the communications gateway Mas2.0 source code, be able to receive and send message
- 2022-03-18 07:20:30下载
- 积分:1
-
用JSP+JavaBean+DB实现的在线聊天室,一个高手编的哦
用JSP+JavaBean+DB实现的在线聊天室,一个高手编的哦-Using JSP+ JavaBean+ DB to achieve the online chat room, a master for the oh ~ ~ ~
- 2023-05-31 23:10:03下载
- 积分:1