java network communication: Springboot integrates Websocket

Network communication What is webSocket? WebSocket principle Springboot integrates websocket process Three elements of network communication: IP address (ipv4, ipv6), port number (unique identification of the application), protocol (rules for connection and communication, commonly used: tcp, udp) Community-House-Road Socket is short for “socket” and is used to establish communication links between computers, allowing data to […]

Inter-process communication – early communication

Development 1. Early communication methods 2. AT&T’s Bell Labs improved and expanded Unix’s early inter-process communication, forming “system V IPC” (InterProcess Communication), its communication process is mainly limited to a single computer. 3. BSD (Berkeley Software Distribution Center of the University of California, Berkeley), skipping the restriction of only communicating on the same computer, An […]

ROS node communication actions

Directory ROS calculation graph structure ROS action communication method Write a program to test the action communication method Create feature package Example: The action client node requests the action server node to complete the countdown task Target programming compile test ROS calculation graph structure ROS nodes communicate by sending and receiving messages. The message sending […]

Interrupt mode and DMA mode complete serial communication

Article directory 1. Basic introduction to DMA 2. Complete tasks by interrupting 1. Use STM32CubeMX to create a new project 2. Code writing 3. Hardware implementation 3. Complete the task using DMA method 1. Use STM32CubeMX to create a new project 2. Code writing 3. Demonstration of running results 4. Reference materials 1. Basic introduction […]

SpringBoot-WebSocket browser-server two-way communication

Article directory Introduction to WebSockets Getting Started Case WebSocket Introduction WebSocket is a new network protocol based on TCP. It realizes full-duplex communication between the browser and the server – the browser and the server only need to complete a handshake, and a persistent connection can be created between the two and bidirectional data transmission […]

python and PLC communication (Ethernet modbustcp)

To establish communication with a PLC in Python, you usually need to perform the following steps: 1. Determine the communication protocol of the PLC: Different PLC manufacturers and models may use different communication protocols, such as Modbus, OPC UA, Profinet, etc. Please first determine which communication protocol your PLC uses (this article is modbustcp). 2. […]

[Unity Network Communication] Teach you how to use TCP and UDP protocols in one step

An article about Unity acting as both client and server Communication protocol TCP, UDP There are many repeated methods on the server side. Interested friends can write them as base classes to reduce the repetition rate. 1. Preface Achieve sending specified commands through TCP or UDP protocol, and the receiving end performs operations related to […]

STM32 uses interrupts and DAM to complete serial communication

(1) Serial port protocol and RS-232 standard 1. Introduction to serial port protocol Serial Communication is a very commonly used serial communication method between devices. Because it is simple and convenient, most electronic devices support this communication method. Electronic engineers often use this communication method to output debugging when debugging equipment. information. In computer science, […]

Serial communication based on interrupt/DMA mode

1. Introduction to serial communication protocol and RS-232 and the working principle of USB/TTL to 232 module 1. Serial protocol and RS-232 standard: (1) Serial port protocol: Serial Communication is a very commonly used serial communication method between devices. Because it is simple and convenient, most electronic devices support this communication method. Electronic engineers often […]