-
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
-
java版实现了文件的传输功能,大家参考下
java版实现了文件的传输功能,大家参考下-java version of the document to achieve the transmission function, refer to the following U.S.
- 2022-08-26 04:51:06下载
- 积分:1
-
一个网络包监控程序,包括抓包的驱动代码
一个网络包监控程序,包括抓包的驱动代码--A network packet monitoring program, it includs driver code of grasping packet
- 2022-02-26 08:24:39下载
- 积分:1
-
远程开端口,用于扫描查看系统打开的服务,不用密码即可.
远程开端口,用于扫描查看系统打开的服务,不用密码即可.-import drop,It is copy down
- 2023-07-08 03:05:04下载
- 积分:1
-
基于Socket封装的通用API
基于Socket封装的通用API,支持TCP客户端、TCP服务端、UDP客户端、UDP服务端。
应用程序开发需包含导出类的TSocket.h,同时引用TCPUDPAPI.lib,TCPUDPAPI.dll 放在应用程序运行目录下。
- 2022-02-01 06:52:45下载
- 积分:1
-
使用两行代码创建超链接,小代码非常的实用。不要错过啊
使用两行代码创建超链接,小代码非常的实用。不要错过啊- Not to miss ah
- 2022-10-21 07:10:03下载
- 积分:1
-
About the data in the network package and unpack the receiving end of a general...
关于网络通信中的数据打包和接收端解包的一般算法编码-About the data in the network package and unpack the receiving end of a general algorithm for encoding
- 2023-01-15 20:10:03下载
- 积分:1
-
an integrated network started programming code : ftp browser/jbuilder9 compile!
一个java网络编程的综合起步代码:ftp的浏览器,/jbuilder9编译通过!-an integrated network started programming code : ftp browser/jbuilder9 compile!
- 2022-12-19 12:30:03下载
- 积分:1
-
聊天室ChatClient源码
聊天室ChatClient源码-Chat rooms ChatClient source
- 2022-10-29 17:15:04下载
- 积分:1
-
asp source code, online message board, the latest development of the absolute ea...
asp源代码,网上留言板,最新开发的绝对好用。-asp source code, online message board, the latest development of the absolute ease of use.
- 2022-03-11 08:50:28下载
- 积分:1