C# Socket TCP 2 heartbeat protocol + anti-stain packet + proactively disconnect from the server

In the previous code, a C# .net TcpClient implemented the full-duplex communication protocol_tcpclient protocol_Green Lemon 676’s Blog-CSDN Blog We have implemented the heartbeat of TCP and introduced the full-duplex communication protocol. Today we will take you to understand what TCP packet immersion is and how TCP prevents packet immersion. So let’s make a long story […]

nginx four-layer tcp load balancing and active and standby, four-layer udp load balancing and active and standby, 7-layer http load balancing and active and standby configuration (wndows system active and standby, load balancing)

Preparation Prepare two centos7 computers, virtual machines can also be used Use vmware17 to build centos7 mini version server on windows-CSDN Blog Set up a static IP address (because the network load balancing manager on the Windows server does not support dhcp servers) Modify the network card IP address in ky10, centos7 and other linux […]

Teach you how to grab bandwidth with TCP

What should I do if the network is too slow and jammed? Doing it yourself is not suitable for everyone, and it does not mean that you can log in to the server and play tricks in every scenario. At this time, you have to use money to solve the problem and pay more money […]

15 Analysis | How to efficiently analyze TCP retransmission issues?

We talked about many problems in the basics and case studies, such as RT jitter problems, packet loss problems, inability to establish connections, etc. These problems are usually accompanied by TCP retransmissions, so we often capture TCP retransmission information to help us analyze these problems. And TCP retransmission is also a signal. We usually use […]

JAVA Deepening Chapter_37 – TCP Communication Implementation and Project Cases

TCP communication implementation and project cases TCP communication implementation principle We mentioned that the TCP protocol is connection-oriented, and the client and server must establish a connection during communication. In network communication, the program that actively initiates communication for the first time is called the client program, or client for short, and the program that […]

TCP and UDP C# code practice

Seven-layer structure of network transmission: Among them, TCP and UDP protocols are at the transport layer. TCP/IP protocol TCP/IP contains multiple protocols in the four-layer architecture, two of which are named: TCP Characteristics of TCP Handling of sticky bag problems TCP receiving too much data at one time will inevitably cause sticky packets, that is, […]

java network programming, udp, tcp

1. Three elements of network programming 1.IP address The address of a device on the network is its unique identifier. 2.Port The unique identifier of the application on the device. 3. Agreement The rules for data transmission in the network. Common protocols include UDP protocol and TCP protocol. 2.IP IP: The full name is “Internet […]

Nginx implements tcp proxy and supports TLS encryption experiment

Nginx source code compilation Regarding the construction and configuration of nginx, please refer to the author’s previous article: Real-time streaming media server construction test (nginx + rtmp)_How to test online whether the streaming media rtmp is successfully built – the first half of the CSDN blog; the only change is the compilation parameters (Add the […]