Network Programming learning in linux-basic protocol learning-Linux Enterprise Application-Linux server application information. For details, refer to the following section. If you have learned the network, you must know the network architecture: OSI reference model and TCP/IP Reference Model.
The former is a theoretical model, and the latter is indeed a model for actual operation.
1) Let's take a look at the TCP/IP model.
Below are the TCP/IP protocol layers
CODE: ====================================
Application Layer --------- | -------------------- | --------------------------------------------------- Tcp udp Transport Layer ----------\----------------------------/------------------------------------------ \/ \/ IP protocol --- icmp protocol Network Layer ---------------- | ------------------------------------------------------------------- Network Interface data link layer
==================================== |