Tag:data packet

  • Common shell query

    Time:2021-12-16

    Make a brief summary of some frequently used shell commands for easy reference in the future. tcpdump tcpdumpCommand is used to save and record network traffic, that is, packet capture tool. You can use it to observe what is happening on the network and solve all kinds of problems, including those unrelated to network communication. […]

  • Common shell query

    Time:2021-12-16

    Make a brief summary of some frequently used shell commands for easy reference in the future. tcpdump tcpdumpCommand is used to save and record network traffic, that is, packet capture tool. You can use it to observe what is happening on the network and solve all kinds of problems, including those unrelated to network communication. […]

  • How to optimize server performance in high concurrency scenarios?

    Time:2021-12-15

    Write in front Recently, a small partner asked in the group: how to set TCP in Linux system_ Nodelay parameter? Some friends said to ask me. Today, let’s talk about how to optimize server performance in high concurrency scenarios. In fact, TCP_ The nodelay parameter is not configured at the operating system level, but adds […]

  • Stun details

    Time:2021-12-14

    Stun is a NAT penetration mode specified in rfc3489. It uses auxiliary methods to detect the IP and port of NAT. The stun detection process requires a stun server with public IP. The UAC behind the NAT must cooperate with this server to send several UDP packets to each other. UDP packets contain information that […]

  • Serialization and deserialization methods of shared socket packets

    Time:2021-12-13

    Serialization and deserialization methods of shared socket packets To be brief, this article does not cover socket connection and data reception, but only introduces the encapsulation of serialization and deserialization methods of data packets (byte []). Contents of this article Background of this paper General operation Paper operation summary 1. Background Often do C / […]

  • Serialization and deserialization methods of shared socket packet

    Time:2021-12-12

    Serialization and deserialization methods of shared socket packet To be brief, this article does not cover socket connection and data reception, but only introduces the encapsulation of serialization and deserialization methods of data packets (byte []). Contents of this article Background of this paper General operation Paper operation summary 1. Background Often do C / […]

  • Yes, you’re right. Here comes http3

    Time:2021-12-9

    brief introduction Many small partners may still be immersed in the world of HTTP1.1, but the torrent of the times has led us to the world of http3. Yes, you are watching the scenery on the bridge, and someone is watching you in the house by the bridge. In order not to be abandoned by […]

  • Rust language learning notes (IV) — I / O

    Time:2021-12-8

    Write in front: This is a draft of nearly a year ago. Turn it out and find out aboutTask(renamedThread)Some practices of withdrawal still apply, andzmq.rs0.2 it will be used without accidents, so I still post this article for future reference. But please note that the text is aboutlibgreenSome of the descriptions are no longer true. […]

  • In depth interpretation of HTTP’s past and present lives

    Time:2021-12-2

    HTTPThe full name of is called hypertext transfer protocol. It is an application layer transfer protocol based on the world wide web. At the beginning of its establishment, it was mainly to integrate hypertext markup language(HTML)Document fromWebThe server passes to the client’s browser. The original version wasHTTP 0.9, was produced in the late 1980s, and […]

  • What the hell is UDP

    Time:2021-11-20

    When your talent is not enough to meet your ambition, you should calm down and study hard Overview of UDP UDP is the abbreviation of user datagram protocol and its Chinese name is user datagram protocol. It is a connectionless transport layer protocol in OSI (open system interconnection) reference model. It provides transaction oriented simple […]

  • Timing analysis of TCP / IP protocol stack in Linux kernel

    Time:2021-11-18

      catalogue 1、 Introduction to TCP / IP and network layering 1. TCP / IP concept 2. Composition of TCP / IP protocol stack 3. OSI model and TCP / IP model 1) Application layer          2) Transport layer 3) Internet layer 4) Network access layer 2、 Socket introduction 1. What is socket […]

  • Detailed explanation of STM32 serial port

    Time:2021-11-13

    01. Features of USART USART is a universal asynchronous transceiver Universal asynchronous receiver / transmitter (UART), commonly known as UART, is an asynchronous transceiver and a key module for asynchronous communication between devices. UART is responsible for processing serial / parallel and parallel / serial conversion between data bus and serial port, and specifies the […]