fixed order of diagram and text, text was pointing to diagram "below" when diagram was above (#69)

fixed order of diagram and text, text was pointing to diagram "below",
when diagram was above
This commit is contained in:
Daniel Lombardi
2023-12-27 01:20:06 -03:00
committed by GitHub
parent 2d5e68b169
commit a219053f42

View File

@@ -383,12 +383,12 @@ Note that API design is not just URL path design. Most of the time, we need to c
How is data sent over the network? Why do we need so many layers in the OSI model? How is data sent over the network? Why do we need so many layers in the OSI model?
The diagram below shows how data is encapsulated and de-encapsulated when transmitting over the network.
<p> <p>
<img src="images/osi model.jpeg" /> <img src="images/osi model.jpeg" />
</p> </p>
The diagram below shows how data is encapsulated and de-encapsulated when transmitting over the network.
Step 1: When Device A sends data to Device B over the network via the HTTP protocol, it is first added an HTTP header at the application layer. Step 1: When Device A sends data to Device B over the network via the HTTP protocol, it is first added an HTTP header at the application layer.
Step 2: Then a TCP or a UDP header is added to the data. It is encapsulated into TCP segments at the transport layer. The header contains the source port, destination port, and sequence number. Step 2: Then a TCP or a UDP header is added to the data. It is encapsulated into TCP segments at the transport layer. The header contains the source port, destination port, and sequence number.