Network debugging assistant: Android APP integrates TCP, UDP, classic Bluetooth and low-power Bluetooth debugging demo

1. Preface 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

[computer network] - Protocol layering

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

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

scapy dual thread, blocking, monitoring, contracting, shaking hands, sending http requests

Involving knowledge 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

socket programming of OSI layer 7, TCP/IP layer 5, UDP and TCP (server and client), byte order conversion, implementation of multi process and multi-threaded server

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[16]; Each data in network communication mu ...

Posted by VanHagar on Fri, 14 Jan 2022 05:03:31 +0100

Linux Network IPC: introduction and use of Socket socket

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

Development of chat device under network communication (TCP actual combat Development) application development technology of connecting two computers -- socket module

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

[TCP/IP] [debugging] one of a series of verification methods for packet loss, blocked flow, wrong packet and other problems - log mode

preface 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