2023.9.8 Write network communication programs based on transport layer protocols UDP and TCP

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, […]

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 […]

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 […]

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 […]