Hierarchy of HTTP and Communication -HTTP Tutorial
Hierarchy of HTTP
HTTP has the following four hierarchies.
hierarchy | Overview |
---|---|
Application layer | Determine the movement of communication to be used in the application. TCP / IP is also included in this |
Transport layer | Provide data flow between computers connected by the network. There are TCP and UDP. |
Network layer | The layer responsible for moving packets on the network. The path of the network is also decided by this layer. |
Link layer | A layer that carries configuration information related to hardware. Connections with device drivers and cable connections. |
Communication order
When actually communicating, information is handled in the following form.
When sending:
- Specify the web page requested by the application layer with an HTTP request.
- We divide the HTTP requests coming from the application layer finely in the transport layer and give serial numbers and port numbers.
- Add the destination MAC address in the network layer.
- An HTTP request is sent from the link layer.
On reception:
- Receive HTTP request from link layer.
- Remove the MAC address information at the network layer.
- Assemble HTTP requests finely divided at the transport layer based on serial numbers and port numbers.
- Get information on the web page specified in the application layer.