tags: network programming
1. In order to be able to correctly parse out the upper layer data packets, each layer in the TCP/IP protocol stack is marked with some "protocol type", as detailed below

2. The process of assembling/disassembling the udp packet

L2CAP Channels has two forms: Connection-Oriented and ConnectionLess (no connection), range: In addition to L2CAP ConnectionLes Channel (CID 0x0002) and 2 L2cap Signaling Channels (CID is 0x0001 and 0...
Design ideas The total composition is Header and Data header The size of the header is fixed to 4KB. This is because the header is at the file header, but the data of the header must be generated afte...
Please combine the attachment: Ping implementation principle and the content of ping.cpp, write a program to enable it to realize the simple ping function, that is, determine whether the target websit...
GPS data packet analysis GPS data packet analysis purpose GPS data type and format Data Format Data interpretation Parsing code Structure definition GPRMC analytical functions GPGGA analytical functio...
In the switching network using the "store-forwarding" packets shown in the figure below, the data transmission speed of all links is 100Mb/s, the packet size is 1000B, and the packet head si...
1 Introduction Using network sniffing tools often use the data packets on a specific network card to analyze network issues. For example, using the WiReshark tool to grab the data of a network card on...
This chapter is the fourth chapter of "How is the Internet Connected-After Reading" Foreword This chapter is the fourth chapter of a series of blogs; the first chapter talks about data sen...
Before the capture process of wireshark, we perform a simple filtering to limit the captured data packets. Before capturing, enter the filtering information as shown below to filter the captured data ...
1. Experiment name Use Network Protocol Analyzer Wireshark Second, the purpose of the experiment 1. Master the method of installing and configuring Wireshark network protocol analyzer; 2. Familiar wit...
I have used other network packet capture tools a long time ago, and recently thought about using the well-known network packet capture tool Wireshark, but I couldn't capture the local network packet a...