I finally don't need to debug a hardware device and install an APP. If I download someone else's network debugging assistant in the APP store and have advertisements, I might as well write a relatively complete network debugging assistant directly. At present, the supported functions include tcp client and server, udp, low-power Blu ...
Posted by rowman on Tue, 08 Mar 2022 00:18:17 +0100
1. Agreement: an agreement.
2. Protocol layering:
(1) OSI (open system interconnection) seven layer model
(2) TCP/IP five layer model
(3) TCP/IP four layer model
Layer namefunctionRelated agreementsapplication layerResponsible for communication between applications HTTP SSH DNS Display layerConvert the network datagram into the package req ...
Posted by mrpickleman on Fri, 04 Mar 2022 14:21:06 +0100
Communication between C# upper computer and Schneider PLC
Introduction to ModbusTCP communication protocol
Schneider PLC communication is a Modbus protocol based on Ethernet TCP/IP, in which TCP is what we call ModbusTCP protocol. Modbus protocol is an application layer message transmission protocol, including ASCII, RTU, TCP and other messag ...
Posted by tourer on Fri, 18 Feb 2022 09:35:51 +0100
1. The essence of handshake and wave
In fact, I think waving and shaking hands are completely confusing concepts. The change of serial number and verification number completely depends on whether you are the data sender or receiver.
The data here only refers to the data carried in the application layer http, excludin ...
Posted by bluedogatdingdong on Fri, 11 Feb 2022 22:57:41 +0100
1. The network is divided by coverage: LAN / man / WAN, Internet / Internet, Ethernet / token ring - networking mode
2. Each host must be represented by one in the network to realize point-to-point accurate communication
IP address: ipv4: uint32_t unsigned 4-byte integer} DHCP/NAT} ipv6: uint_t addr;
Each data in network communication mu ...
Posted by VanHagar on Fri, 14 Jan 2022 05:03:31 +0100
Communication between different hosts: ❤️
The concept of process communication originated from single machine system. Since each process runs within its own address range, the operating system provides corresponding facilities for process communication to ensure that two processes communicating with each other do not interfere with each o ...
Posted by tyson on Sat, 01 Jan 2022 13:38:37 +0100
TCP server (server)
If you want to perform the functions of the tcp server, you need to perform the following process
Socket create a socketThe bind method binds IP and portlisten makes the socket passiveaccept waits for unprovoked links (you must create a new listening socket and redefine a new receiver)recv/send receive send data
For accep ...
Posted by abitlikehomer on Tue, 21 Dec 2021 08:50:11 +0100
In the process of TCP/IP related development, it is often necessary to check the problems such as packet loss, wrong packet and blocked flow. Because the TCP/IP forwarding surface involves software and hardware, and there are many functions and branches in the software process, it is difficult to add printing or analyze the process.Thi ...
Posted by charlesg on Sat, 23 Oct 2021 19:23:00 +0200