-
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
-
使用Winsock编写用IPX协议客户/服务器模式的聊天的程序
使用Winsock编写用IPX协议客户/服务器模式的聊天的程序- Uses the Winsock compilation the procedure which chats with the
IPX agreement customer/server pattern
- 2022-02-10 11:08:13下载
- 积分:1
-
一个不错的投票系统,可多选,单选,规定投票次数,无限添加投票项目...
一个不错的投票系统,可多选,单选,规定投票次数,无限添加投票项目-a good voting system, may choose, radio, voting frequency, add unlimited voting project
- 2022-04-27 02:20:05下载
- 积分:1
-
这是万亩网上服务器的源代码!
奇迹的重要组件源代码,有了它你可以扩展出奇迹很多功能!-This is the MU online server s source code!
- 2022-12-18 13:25:03下载
- 积分:1
-
VC网络与通信经典编程
VC网络与通信经典编程-VC networking and communications classical programming
- 2022-02-22 08:05:51下载
- 积分:1
-
网络电话例程,可以连接本机做测试!
网络电话例程,可以连接本机做测试!-telephone network routines, can be connected to the testing machine!
- 2022-04-23 16:47:56下载
- 积分:1
-
Supermarket management system enables a simple interface for basic management fu...
超市管理系统 能够实现基本的管理功能 界面简单-Supermarket management system enables a simple interface for basic management functions
- 2022-02-10 09:02:17下载
- 积分:1
-
ppc上的udp通讯
测试通过,wm6上测试通过.
ppc上的udp通讯
测试通过,wm6上测试通过.-ppc on udp communications test, wm6 on the test.
- 2022-01-28 16:04:00下载
- 积分:1
-
socket编程,建立一个服务器,用于聊天的程序。
socket编程,建立一个服务器,用于聊天的程序。-socket programming, the establishment of a server for the chat program.
- 2023-03-13 19:20:03下载
- 积分:1
-
EVC TCPServer WINCE.NET下可以使用
EVC TCPServer WINCE.NET下可以使用-EVC TCPServer WINCE.NET can use
- 2022-12-24 17:55:03下载
- 积分:1