HTTP & TCP - Ip
HTTP & TCP - Ip
The World Wide Web is about communication between web clients and
web servers.
Clients are often browsers (Chrome, Edge, Safari), but they can be any type of
program or device.
1. The browser requests an HTML page. The server returns an HTML file.
2. The browser requests a style sheet. The server returns a CSS file.
3. The browser requests an JPG image. The server returns a JPG file.
4. The browser requests JavaScript code. The server returns a JS file
5. The browser requests data. The server returns data (in XML or JSON).
What is TCP/IP?
TCP/IP stands for Transmission Control Protocol/Internet Protocol and is a suite of
communication protocols used to interconnect network devices on the internet.
TCP/IP is also used as a communications protocol in a private computer network
(an intranet or extranet).
TCP/IP specifies how data is exchanged over the internet by providing end-to-end
communications that identify how it should be broken into packets, addressed,
transmitted, routed and received at the destination. TCP/IP requires little central
management and is designed to make networks reliable with the ability to recover
automatically from the failure of any device on the network.
The two main protocols in the IP suite serve specific functions. TCP defines how
applications can create channels of communication across a network. It also
manages how a message is assembled into smaller packets before they are then
transmitted over the internet and reassembled in the right order at the destination
address.
Common TCP/IP protocols include the following:
3. The network layer, also called the internet layer, deals with packets and
connects independent networks to transport the packets across network
boundaries. The network layer protocols are IP and Internet Control Message
Protocol, which is used for error reporting.
4. The physical layer, also known as the network interface layer or data link
layer, consists of protocols that operate only on a link -- the network
component that interconnects nodes or hosts in the network. The protocols in
this lowest layer include Ethernet for local area networks and Address
Resolution Protocol.