-
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
-
一个.net下的Remote进程管理工具
一个.net下的Remote进程管理工具--A management tool of Remote progress under .net
- 2022-02-25 03:15:05下载
- 积分:1
-
网络营销系统(NET)用asp.net编程的系统
网络营销系统(NET)用asp.net编程的系统-Network Marketing System (NET) with Asp. Net Programming System
- 2022-01-26 04:59:16下载
- 积分:1
-
netnew, web time settings, dynamic Kazakhstan, can make your website more attrac...
网页特效,网页时间的设置,动态的哈,可以让你的网页更精美-netnew, web time settings, dynamic Kazakhstan, can make your website more attractive
- 2022-01-26 05:53:39下载
- 积分:1
-
将网络驱动器映射为本地驱动的小程序,.net2003编译通过
将网络驱动器映射为本地驱动的小程序,.net2003编译通过-network drive mapping for the local small-driven procedures. Net2003 compile
- 2022-01-23 10:32:14下载
- 积分:1
-
SOCKET 底层协议数据结构
如:
/*
IP Header
RFC
SOCKET 底层协议数据结构
如:
/*
IP Header
RFC-791
0 3 7 15 31
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|Version| IHL |Type of Service| Total Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Identification | Flags | Fragment Offset |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Time to Live | Protocol | Header Checksum |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Source Address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Destination Address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Options | Padding |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
*/-SOCKET underlying protocol data structures such as:/* IP HeaderRFC-7910 3 7 15 31+-+-+-+-+-+-+-+-+-+-+-2B !-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--+-+-+-+-+ | Version | IHL | Type of Service | Total Length |+-+-+-+-+-+-+-+--+-+-+-+-+-+-+-+-+-+-+
- 2022-03-14 02:24:14下载
- 积分:1
-
用socket实现服务端和客户端的通信。有各种命令,其命令类似linux的终端命令符...
用socket实现服务端和客户端的通信。有各种命令,其命令类似linux的终端命令符-Achieved with the socket server and client communication. There are various commands, the command similar to the linux terminal command Fu
- 2022-01-26 06:54:13下载
- 积分:1
-
自动发送电子邮件
这是的自动发送电子邮件的源代码。请下载并试用。谢谢大家的支持。
- 2022-01-28 08:28:59下载
- 积分:1
-
IP数据包捕获类,能使网卡工作在混杂模式,监听来自网络的所有数据包...
IP数据包捕获类,能使网卡工作在混杂模式,监听来自网络的所有数据包-IP packet capture category, enable the network card in promiscuous mode, monitoring from the network all packets
- 2022-01-26 04:30:12下载
- 积分:1
-
最新的迅雷下载工具 具有快速下载 直接收索等强大的功能
最新的迅雷下载工具 具有快速下载 直接收索等强大的功能-Xunlei download the latest tools with fast download cable, such as direct admission powerful
- 2022-04-22 03:32:00下载
- 积分:1