Table of Contents UDP Write network communication program based on UDP server code client code TCP Write network communication program based on TCP server code client code IDEA opens to support multi-client mode UDP Features: Connectivityless: The sender and receiver can communicate with each other without establishing a connection, and each UDP packet is independent, […]
Tag: protocols
Practical HRP: Teach you step by step how to add interface protocols – use case execution
Source code Official website demo account: admin, password: 123456 In the previous chapter, we learned that the execution of each test case is managed by a run object CaseRunner. The following are the main execution steps of CaseRunner: Determine interface availability: Determine whether there are still interfaces to be executed by calling the HasNext method. […]
Exploring software architecture and network communication protocols: building modern network applications
Article directory 1. Software architecture: the cornerstone of building applications 1.1 C/S architecture: client/server 1.2 B/S architecture: browser/server 2. Network communication protocol: building a bridge of connection 2.1 4-layer model: layered transmission of data 2.2 IP address and port number: identification and positioning 3. TCP communication: ensuring reliable data transmission 3.1 UDP protocol: fast but […]
How to efficiently implement customized application layer protocols
Follow and star public accounts to get direct access to exciting content Brief description The Internet is full of various network services. When providing network services to the outside world, the server and the client need to follow the same set of data communication protocols to communicate normally; just like you use Hokkien to communicate […]
PublicDNS service provider increases bytes and will support protocols such as DoH/DoT/DoQ
Article directory BytesPublic DNS DNS basic concepts DNS Recursive parsing Authoritative DNS server Local DNS server Advantages of Public DNS high performance reliable Safety What is DoH protocol Turn on DNS over HTTPS in Chrome What is DoT protocol TLS transmission process What is DoQ protocol Check if your device can access the public resolution […]
Practical HRP: Teach you step by step how to add interface protocols – use case types
Source code Official website demo account: admin, password: 123456 hrp The most important thing is the composition of use cases, so we will explain this part in several sections, which will involve some relatively basic content. If you have a solid foundation, you can skip the basic part and go directly See the relevant parts […]
Practical Hrp: Teach you how to add interface protocols — read use cases
According to the previous introduction, we learned that the file reading of the hrp use case is completed by the LoadTestCases function in the loader.go file. This function takes a ITestCase slice as input and returns a TestCase slice as output. Inside the function, the file content is converted into executable test case data by […]
2. TCP and UDP protocols
1. The concept of TCP/UDP TCP: The TCP (Transmission Control Protocol) protocol refers to the transmission control protocol, which is a connection-oriented transmission protocol. It is a communication protocol that can provide high reliability. The so-called high reliability refers to no data loss, no data error, no data re-arrival Applicable scenarios It is suitable for […]
Demystifying the IO model, selectors and network protocols
Understand common TCP/UDP TCP (Transmission Control Protocol) is a connection-oriented reliable transmission protocol. Similar to making a phone call, it improves the reliability of communication by establishing a connection and ensuring the reliable transmission of data. However, due to the need to ensure the reliability of data, the TCP protocol will increase the burden on […]
Network Protocols – the syslog protocol and the rsyslog logging service
Table of Contents Article directory Table of contents syslog protocol Facility Severity action rsyslog Software Architecture rsyslogd service rsyslog.conf MODULES GLOBAL DIRECTIVES RULS property substitution template rendering filter rules Filter module queue Deployment example of remote log file server client server verify Storing Logs to MySQL Deployment Example server verify Listen to Apache logs sent […]