Unit III Lecture Notes
Unit III Lecture Notes
Lecture Topic CO PO
No.
Process-to-Process Communication
▪ The Transport Layer is responsible for delivering data to the appropriate application process
on the host computers.
▪ This involves multiplexing of data from different application processes, i.e. forming data
packets, and adding source and destination port numbers in the header of each Transport
Layer data packet.
▪ Together with the source and destination IP address, the port numbers constitutes a network
socket, i.e. an identification address of the process-to-process communication.
Flow Control
▪ Flow Control is the process of managing the rate of data transmission between two nodes to
prevent a fast sender from overwhelming a slow receiver.
▪ It provides a mechanism for the receiver to control the transmission speed, so that the
receiving node is not overwhelmed with data from transmitting node.
Error Control
▪ Error control at the transport layer is responsible for
1. Detecting and discarding corrupted packets.
2. Keeping track of lost and discarded packets and resending them.
3. Recognizing duplicate packets and discarding them.
4. Buffering out-of-order packets until the missing packets arrive. ▪
Error Control involves Error Detection and Error Correction
Congestion Control
▪ Congestion in a network may occur if the load on the network (the number of packets sent
to the network) is greater than the capacity of the network (the number of packets a network
can handle).
▪ Congestion control refers to the mechanisms and techniques that control the congestion and
keep the load below the capacity.
▪ Congestion Control refers to techniques and mechanisms that can either prevent congestion,
before it happens, or remove congestion, after it has happened
▪ Congestion control mechanisms are divided into two categories,
1. Open loop - prevent the congestion before it happens.
2. Closed loop - remove the congestion after it happens.
2. PORT NUMBERS
• A transport-layer protocol usually has several responsibilities.
• One is to create a process-to-process communication.
• Processes are programs that run on hosts. It could be either server or client.
• A process on the local host, called a client, needs services from a process usually on the
remote host, called a server.
• Processes are assigned a unique 16-bit port number on that host. Port numbers provide
end-to-end addresses at the transport layer They also provide multiplexing and
demultiplexing at this layer. The port numbers are integers between 0 and 65,535 .
ICANN (Internet Corporation for Assigned Names and Numbers) has divided the port numbers
into three ranges:
✔ Well-known ports ✔ Registered ✔ Ephemeral ports (Dynamic
Ports)
✔
WELL-KNOWN PORTS
• These are permanent port numbers used by the servers.
• They range between 0 to 1023.
• This port number cannot be chosen randomly.
• These port numbers are universal port numbers for servers.
• Every client process knows the well-known port number of the corresponding server
process.
• For example, while the daytime client process, a well-known client program, can use an
ephemeral (temporary) port number, 52,000, to identify itself, the daytime server process
must use the well-known (permanent) port number 13.
REGISTERED PORTS
• The ports ranging from 1024 to 49,151 are not assigned or controlled.
Each protocol provides a different type of service and should be used appropriately.
UDP - UDP is an unreliable connectionless transport-layer protocol used for its simplicity and
efficiency in applications where error control can be provided by the application-layer process.
TCP - TCP is a reliable connection-oriented protocol that can be used in any application where
reliability is important.
SCTP - SCTP is a new transport-layer protocol designed to combine some features of UDP and
TCP in an effort to create a better protocol for multimedia communication.
UDP PORTS
• Processes (server/client) are identified by an abstract locator known as port.
• Server accepts message at well known port.
• Some well-known UDP ports are 7–Echo, 53–DNS, 111–RPC, 161–SNMP, etc.
• < port, host > pair is used as key for demultiplexing.
• Ports are implemented as a message queue.
• When a message arrives, UDP appends it to end of the queue.
• When queue is full, the message is discarded.
• When a message is read, it is removed from the queue.
• When an application process wants to receive a message, one is removed from the front of
the queue.
• If the queue is empty, the process blocks until a message becomes available.
Checksum
⮚ UDP computes its checksum over the UDP header, the contents of the message body,
and something called the pseudoheader.
⮚ The pseudoheader consists of three fields from the IP header—protocol number, source
IP address, destination IP address plus the UDP length field.
Data
⮚ Data field defines tha actual payload to be transmitted.
⮚ Its size is variable.
UDP SERVICES
Process-to-Process Communication
UDP provides process-to-process communication using socket addresses, a combination of
IP addresses and port numbers.
Connectionless Services
• UDP provides a connectionless service.
• There is no connection establishment and no connection termination .
• Each user datagram sent by UDP is an independent datagram.
• There is no relationship between the different user datagrams even if they are coming
from the same source process and going to the same destination program.
• The user datagrams are not numbered.
• Each user datagram can travel on a different path.
Flow Control
• UDP is a very simple protocol.
• There is no flow control, and hence no window mechanism.
• The receiver may overflow with incoming messages.
• The lack of flow control means that the process using UDP should provide for this service,
if needed.
Error Control
• There is no error control mechanism in UDP except for the checksum.
• This means that the sender does not know if a message has been lost or duplicated.
• When the receiver detects an error through the checksum, the user datagram is silently
discarded.
• The lack of error control means that the process using UDP should provide for this service,
if needed.
Checksum
• UDP checksum calculation includes three sections: a pseudoheader, the UDP header, and
the data coming from the application layer.
• The pseudoheader is the part of the header in which the user datagram is to be encapsulated
with some fields filled with 0s.
Congestion Control
• Since UDP is a connectionless protocol, it does not provide congestion control.
• UDP assumes that the packets sent are small and sporadic(occasionally or at irregular
intervals) and cannot create congestion in the network.
• This assumption may or may not be true, when UDP is used for interactive real-time transfer
of audio and video.
Queuing
• In UDP, queues are associated with ports.
• At the client site, when a process starts, it requests a port number from the operating system.
• Some implementations create both an incoming and an outgoing queue associated with each
process.
• Other implementations create only an incoming queue associated with each process.
TCP SERVICES
Process-to-Process Communication
TCP provides process-to-process communication using port numbers.
Stream Delivery Service
• TCP is a stream-oriented protocol.
• TCP allows the sending process to deliver data as a stream of bytes and allows the receiving
process to obtain data as a stream of bytes.
• TCP creates an environment in which the two processes seem to be connected by an
imaginary “tube” that carries their bytes across the Internet.
• The sending process produces (writes to) the stream and the receiving process consumes
(reads from) it.
Full-Duplex Communication
• TCP offers full-duplex service, where data can flow in both directions at the same time.
• Each TCP endpoint then has its own sending and receiving buffer, and segments move in
both directions.
Connection-Oriented Service
• TCP is a connection-oriented protocol.
• A connection needs to be established for each pair of processes.
• When a process at site A wants to send to and receive data from another process at site B,
the following three phases occur:
1. The two TCP’s establish a logical connection between them.
2. Data are exchanged in both directions.
3. The connection is terminated.
Reliable Service
• TCP is a reliable transport protocol.
• It uses an acknowledgment mechanism to check the safe and sound arrival of data.
TCP SEGMENT
• A packet in TCP is called a segment.
• Data unit exchanged between TCP peers are called segments.
• A TCP segment encapsulates the data received from the application layer.
• The TCP segment is encapsulated in an IP datagram, which in turn is encapsulated in a
frame at the data-link layer.
• TCP is a byte-oriented protocol, which means that the sender writes bytes into a TCP
connection and the receiver reads bytes out of the TCP connection.
• TCP does not, itself, transmit individual bytes over the Internet.
• TCP on the source host buffers enough bytes from the sending process to fill a reasonably
sized packet and then sends this packet to its peer on the destination host.
• TCP on the destination host then empties the contents of the packet into a receive buffer,
and the receiving process reads from this buffer at its leisure.
• TCP connection supports byte streams flowing in both directions.
• The packets exchanged between TCP peers are called segments, since each one carries a
segment of the byte stream.
Congestion Control
• Congestion occurs if load (number of packets sent) is greater than capacity of the network
(number of packets a network can handle).
• When load is less than network capacity, throughput increases proportionally.
• When load exceeds capacity, queues become full and the routers discard some packets and
throughput declines sharply.
• When too many packets are contending for the same link o The queue overflows o Packets
get dropped o Network is congested
• Network should provide a congestion control mechanism to deal with such a situation.
• TCP maintains a variable called CongestionWindow for each connection.
• TCP Congestion Control mechanisms are:
1. Additive Increase / Multiplicative Decrease (AIMD)
2. Slow Start
3. Fast Retransmit and Fast Recovery
• For example, when ACK arrives for 1 packet, 2 packets are sent. When ACK for both
packets arrive, 3 packets are sent and so on.
• CongestionWindow increases and decreases throughout lifetime of the connection.
When CongestionWindow is plotted as a function of time, a saw-tooth pattern results.
Slow Start
• Slow start is used to increase CongestionWindow exponentially from a cold start.
• Source TCP initializes CongestionWindow to one packet.
• TCP doubles the number of packets sent every RTT on successful transmission.
• When ACK arrives for first packet TCP adds 1 packet to CongestionWindow and sends two
packets.
• When two ACKs arrive, TCP increments CongestionWindow by 2 packets and sends four
packets and so on.
• Instead of sending entire permissible packets at once (bursty traffic), packets are sent in a
phased manner, i.e., slow start.
• Initially TCP has no idea about congestion, henceforth it
increases
CongestionWindow rapidly until there is a timeout. On timeout:
CongestionThreshold = CongestionWindow/ 2
CongestionWindow = 1
14
The congestion window trace will look like
15
For example, packets 1 and 2 are received whereas packet 3 gets lost. o Receiver sends a
duplicate ACK for packet 2 when packet 4 arrives. o Sender receives 3 duplicate
ACKs after sending packet 6 retransmits packet 3. o When packet 3 is received,
receiver sends cumulative ACK up to packet 6.
16
3. Explain in detail about Congestion Part B Nov/Dec 1,2,3 2
Control and Congestion Avoidance 2023
techniques
Lecture Topic CO PO
No.
Congestion Avoidance
⮚ The idea is to evenly split the responsibility for congestion control between the routers and
the end nodes.
⮚ Each router monitors the load it is experiencing and explicitly notifies the end nodes when
congestion is about to occur.
⮚ This notification is implemented by setting a binary congestion bit in the packets that flow
through the router; hence the name DECbit.
17
⮚ The destination host then copies this congestion bit into the ACK it sends back to the source.
⮚ The Source checks how many ACK has DEC bit set for previous window packets.
⮚ If less than 50% of ACK have DEC bit set, then source increases its congestion window by 1 packet
⮚ Using a queue length of 1 as the trigger for setting the congestion bit.
⮚ A router sets this bit in a packet if its average queue length is greater than or equal to 1 at the time the
packet arrives.
⮚ Average queue length is measured over a time interval that includes the
last busy + last idle cycle + current busy cycle.
⮚ It calculates the average queue length by dividing the curve area with time interval.
⮚ The queue length is measured every time a new packet arrives at the gateway.
⮚ RED has two queue length thresholds that trigger certain activity: MinThreshold and MaxThreshold
⮚ When a packet arrives at a gateway it compares Avglen with these two values according to the
following rules.
QoS
Quality of Service (QoS) is an important concept, particularly when working with multimedia applications.
Multimedia applications, such as video conferencing, streaming services, and VoIP (Voice over IP), require
certain bandwidth, latency, jitter, and packet loss parameters. QoS methods help ensure that these
requirements are satisfied, allowing for seamless and reliable communication.
Quality-of-service (QoS) refers to traffic control mechanisms that seek to differentiate performance based on
application or network-operator requirements or provide predictable or guaranteed performance to
applications, sessions, or traffic aggregates. The basic phenomenon for QoS is in terms of packet delay and
losses of various kinds.
QoS Specification
Delay
Delay Variation(Jitter)
Throughput
Error Rate
Types of Quality of Service
Stateless Solutions – Routers maintain no fine-grained state about traffic, one positive factor of it is that
it is scalable and robust. But it has weak services as there is no guarantee about the kind of delay or
performance in a particular application which we have to encounter.
Stateful Solutions – Routers maintain a per-flow state as flow is very important in providing the Quality-
of-Service i.e. providing powerful services such as guaranteed services and high resource utilization,
providing protection, and is much less scalable and robust.
QoS Parameters
Packet loss: This occurs when network connections get congested, and routers and switches begin losing
packets.
Jitter: This is the result of network congestion, time drift, and routing changes. Too much jitter can
reduce the quality of voice and video communication.
Latency: This is how long it takes a packet to travel from its source to its destination. The latency should
be as near to zero as possible.
Bandwidth: This is a network communications link’s ability to transmit the majority of data from one
place to another in a specific amount of time.
Mean opinion score: This is a metric for rating voice quality that uses a five-point scale, with five
representing the highest quality.
How does QoS Work?
Quality of Service (QoS) ensures the performance of critical applications within limited network capacity.
Packet Marking: QoS marks packets to identify their service types. For example, it distinguishes
between voice, video, and data traffic.
Virtual Queues: Routers create separate virtual queues for each application based on priority. Critical
apps get reserved bandwidth.
Handling Allocation: QoS assigns the order in which packets are processed, ensuring
appropriate bandwidth for each application
Benefits of QoS
Improved Performance for Critical Applications
Enhanced User Experience
Efficient Bandwidth Utilization
Increased Network Reliability
Compliance with Service Level Agreements (SLAs)
Reduced Network Costs
Improved Security
Better Scalability
Why is QoS Important?
Video and audio conferencing require a bounded delay and loss rate.
Video and audio streaming requires a bounded packet loss rate, it may not be so sensitive to delay.
Time-critical applications (real-time control) in which bounded delay is considered to be an important
factor.
Valuable applications should provide better services than less valuable applications.
Implementing QoS
Planning: The organization should develop an awareness of each department’s service needs and
requirements, select an appropriate model, and build stakeholder support.
Design: The organization should then keep track of all key software and hardware changes and modify
the chosen QoS model to the characteristics of its network infrastructure.
Testing: The organization should test QoS settings and policies in a secure, controlled testing
environment where faults can be identified.
Deployment: Policies should be implemented in phases. An organization can choose to deploy rules by
network segment or by QoS function (what each policy performs).
Monitoring and analyzing: Policies should be modified to increase performance based on performance
data.
Models to Implement QoS
1. Integrated Services(IntServ)
An architecture for providing QoS guarantees in IP networks for individual application sessions.
Relies on resource reservation, and routers need to maintain state information of allocated resources and
respond to new call setup requests.
Network decides whether to admit or deny a new call setup request.
2. IntServ QoS Components
Resource reservation: call setup signaling, traffic, QoS declaration, per-element admission control.
QoS-sensitive scheduling e.g WFQ queue discipline.
QoS-sensitive routing algorithm(QSPF)
QoS-sensitive packet discard strategy.
3. RSVP-Internet Signaling
It creates and maintains distributed reservation state, initiated by the receiver and scales for multicast, which
needs to be refreshed otherwise reservation times out as it is in soft state. Latest paths were discovered
through “PATH” messages (forward direction) and used by RESV messages (reserve direction).
4. Call Admission
Session must first declare it’s QoS requirement and characterize the traffic it will send through the
network.
R-specification: defines the QoS being requested, i.e. what kind of bound we want on the delay, what
kind of packet loss is acceptable, etc.
T-specification: defines the traffic characteristics like bustiness in the traffic.
A signaling protocol is needed to carry the R-spec and T-spec to the routers where reservation is required.
Routers will admit calls based on their R-spec, T-spec and based on the current resource allocated at the
routers to other calls.
5. Diff-Serv
Differentiated Service is a stateful solution in which each flow doesn’t mean a different state. It provides
reduced state services i.e. maintaining state only for larger granular flows rather than end-to-end flows tries to
achieve the best of both worlds. Intended to address the following difficulties with IntServ and RSVP:
Flexible Service Models: IntServ has only two classes, want to provide more qualitative service classes:
want to provide ‘relative’ service distinction.
Simpler signaling: Many applications and users may only want to specify a more qualitative notion of
service.
QoS Tools
Traffic Classification and Marking
Traffic Shaping and Policing
Queue Management and Scheduling
Resource Reservation
Congestion Management
Lectur Topic CO PO
e No.
The layer where all the applications are found is called Application [Link] traditional paradigm
is called the client-server paradigm. In this paradigm, the service provider is an application
program, called the server process; it runs continuously, waiting for another application program,
called the client process, to make a connection through the Internet and ask for service.
Normally few server processes are available that can provide a specific type of service, but there
are many clients that request service from any of these server [Link] server process must be
running all the time; the client process is started when the client needs to receive service.
For example, a telephone directory center in any area can be a server; a subscriber that calls and
asks for a specific telephone number can be thought of as a client.
The directory center must be ready and available all the time; the subscriber can call the center for
a short period when the service is needed. Figure5.1.1 shows an example of a client-server
communication in which three clients communicate with one server to receive the services provided
by this server.
Peer-to-Peer paradigm
In this paradigm, there is no need for a server process to be running all the time and waiting for
the client processes to [Link] responsibility is shared between peers. A computer connected
to the Internet can provide service at one time and receive service at another time. A computer can
even provide and receive services at the same [Link] 5.1.2 shows an example of
communication in this paradigm.
If we need a process to be able to communicate with another process, we need a new set of
instructions to tell the lowest four layers of the TCP/IP suite to open the connection, send and
receive data from the other end, and close the connection.A set of instructions of this type is called
as an application programming interface (API).An interface in programming is a set of instructions
between two entities. In this case, one of the entities is the process at the application layer and the
other is the operating system that encapsulates the first four layers of the TCP/IP protocol suite.
A computer manufacturer build the first four layers of the suite in the operating system and include
an API. Here, the processes running at the application layer are able to communicate with the
operating system when sending and receiving messages through the Internet.
Several APIs have been designed for communication. Three are common: socket interface,
Transport Layer Interface (TLI), and STREAM.
Socket Interface
Socket interface started in the early 1980s at UC Berkeley as part of a UNIX environment.
The socket interface is a set of instructions that provide communication between the application
layer and the operating system. It is a set of instructions that can be used by a process to
communicate with another process. For example, in most computer languages, like C, C++, or Java,
we have several instructions that can read and write data to other sources and sinks such as a
keyboard (a source), a monitor (a sink), or a file (source and sink). Figure 5.1.3 shows the socket
format.
- - - - - -
Lecture Topic CO PO
No.
The Client-server model is a distributed application structure that partitions tasks or workloads
between the providers of a resource or service, called servers, and service requesters called clients. In the
client-server architecture, when the client computer sends a request for data to the server through the internet,
the server accepts the requested process and delivers the data packets requested back to the client. Clients do
not share any of their resources. Examples of the Client-Server Model are Email, World Wide Web, etc.
How Does the Client-Server Model Work?
In this article, we are going to take a dive into the Client-Server model and have a look at how
the Internet works via, web browsers. This article will help us have a solid WEB foundation and help us
easily work with WEB technologies.
Client: When we say the word Client, it means to talk of a person or an organization using a particular
service. Similarly in the digital world, a Client is a computer (Host) i.e. capable of receiving information
or using a particular service from the service providers (Servers).
Servers: Similarly, when we talk about the word Servers, It means a person or medium that serves
something. Similarly in this digital world, a Server is a remote computer that provides information (data)
or access to particular services.
So, it is the Client requesting something and the Server serving it as long as it is in the database.
The Domain Name System (DNS) translates human-readable domain names (e.g., [Link]) into
machine-readable IP addresses (e.g., [Link]), enabling internet communication
It enables computers to locate and communicate with each other on the internet.
Functions as a hierarchical, distributed database.
Queries pass through multiple levels:
o Root server
o Top-Level Domain (TLD) server
o Authoritative server (stores the specific IP address).
Ensures seamless website access using easy-to-remember names instead of numerical IP addresses.
How DNS Works
Structure of DNS
It is very difficult to find out the IP address associated with a website because there are millions of websites and
with all those websites we should be able to generate the IP address immediately, there should not be a lot of
delays for that to happen organization of the database is very important.
Root DNS Server
DNS Record: Domain name, IP address what is the validity? what is the time to live? and all the
information related to that domain name. These records are stored in a tree-like structure.
Namespace: Set of possible names, flat or hierarchical. The naming system maintains a collection of
bindings of names to values – given a name, a resolution mechanism returns the corresponding value.
Name Server: It is an implementation of the resolution mechanism.
DNS = Name service in Internet – A zone is an administrative unit, and a domain is a subtree.
Types of Domain
There are various kinds of domains:
Generic Domains: .com(commercial), .edu(educational), .mil(military), .org(nonprofit
organization), .net(similar to commercial) all these are generic domains.
Country Domain: .in (India) .us .uk
Inverse Domain: if we want to know what is the domain name of the website. IP to domain name mapping.
So DNS can provide both the mapping for example to find the IP addresses of [Link] then we
have to type
nslookup [Link]
Types of DNS
Domain Name Server
The client machine sends a request to the local name server, which, if the root does not find the address in its
database, sends a request to the root name server, which in turn, will route the query to a top-level domain
(TLD) or authoritative name server. The root name server can also contain some hostName to IP address
mappings. The Top-level domain (TLD) server always knows who the authoritative name server is. So finally
the IP address is returned to the local name server which in turn returns the IP address to the host.
DNS Lookup
DNS Lookup, also called DNS Resolution, is the process of translating a human-readable domain name (like
[Link]) into its corresponding IP address (like [Link]), which computers use to locate and
communicate with each other on the internet. It allows users to access websites easily using names instead of
remembering numeric IP addresses.
DNS Lookup starts when a user types a domain name into their browser.
The query goes through a series of servers: the DNS resolver, Root server, TLD server, and authoritative
server.
Each server plays a role in finding the correct IP address for the domain.
Once the IP address is found, the browser connects to the website’s server and loads the page.
DNS Resolver
DNS Resolver is simply called a DNS Client and has the functionality for initiating the process of DNS Lookup
which is also called DNS Resolution. By using the DNS Resolver, applications can easily access different
websites and services present on the Internet by using domain names that are very much friendly to the user and
that also resolves the problem of remembering IP Address.
Types of DNS Queries
There are basically three types of DNS Queries that occur in DNS Lookup. These are stated below.
Recursive Query: In this query, if the resolver is unable to find the record, in that case, DNS client wants
the DNS Server will respond to the client in any way like with the requested source record or an error
message.
Iterative Query: Iterative Query is the query in which DNS Client wants the best answer possible from the
DNS Server.
Non-Recursive Query: Non-Recursive Query is the query that occurs when a DNS Resolver queries a DNS
Server for some record that has access to it because of the record that exists in its cache.
DNS Caching
DNS Caching can be simply termed as the process used by DNS Resolvers for storing the previously resolved
information of DNS that contains domain names, and IP Addresses for some time. The main principle of DNS
Caching is to speed up the process of future DNS lookup and also help in reducing the overall time of DNS
Resolution.
Speeds Up Access: It stores previous website lookups, so your device can quickly load frequently visited
sites without asking the network for the IP address each time.
Reduces Internet Traffic: This storage cuts down on the number of requests sent across the internet,
helping reduce overall network congestion.
Enhances User Experience: With faster loading times for websites and less waiting, browsing the internet
becomes a smoother, more enjoyable experience.
WWW stands for World Wide Web and is commonly known as the Web. The
WWW was started by CERN in 1989. WWW is defined as the collection of
different websites around the world, containing different information shared
via local servers(or computers).
Web pages are linked together using hyperlinks which are HTML-formatted
and, also referred to as hypertext, these are the fundamental units of the
Internet and are accessed through Hypertext Transfer Protocol(HTTP). Such
digital connections, or links, allow users to easily access desired information by
connecting relevant pieces of information. The benefit of hypertext is it allows
you to pick a word or phrase from the text and click on other sites that have
more information about it. This data may be presented in text, picture, audio,
or video formats on the internet.
System Architecture
From the user’s point of view, the web consists of a vast, worldwide connection
of documents or web pages. Each page may contain links to other pages
anywhere in the world. The pages can be retrieved and viewed by using
browsers of which internet explorer, Netscape Navigator, Google Chrome, etc
are the popular ones. The browser fetches the page requested interprets the
text and formatting commands on it, and displays the page, properly
formatted, on the screen.
The basic model of how the web works are shown in the figure below. Here the
browser is displaying a web page on the client machine. When the user clicks
on a line of text that is linked to a page on the [Link] server, the browser
follows the hyperlink by sending a message to the [Link] server asking it for
the page.
Here the browser displays a web page on the client machine when the user
clicks on a line of text that is linked to a page on [Link], the browser follows
the hyperlink by sending a message to the [Link] server asking for the
page.
Working of WWW
A Web browser is used to access web pages. Web browsers can be defined as
programs which display text, data, pictures, animation and video on the
Internet. Hyperlinked resources on the World Wide Web can be accessed using
software interfaces provided by Web browsers. Initially, Web browsers were
used only for surfing the Web but now they have become more universal.
The below diagram indicates how the Web operates just like client-server
architecture of the internet. When users request web pages or other
information, then the web browser of your system request to the server for the
information and then the web server provide requested services to web
browser back and finally the requested service is utilized by the user who
made the request.
World Wide Web
Web browsers can be used for several tasks including conducting searches,
mailing, transferring files, and much more. Some of the commonly used
browsers are Internet Explorer, Opera Mini, and Google Chrome.
Features of WWW
WWW is open source.
It is a distributed system spread across various websites.
It is a Hypertext Information System.
It is Cross-Platform.
Uses Web Browsers to provide a single interface for many services.
Dynamic, Interactive and Evolving.
documents that can be accessed via the Internet. with other computer .
WWW used protocols such as HTTP Internet used protocols such as TCP/IP
Web Browser Evolution and the Growth of the World Wide Web
In the early 1990s, Tim Berners-Lee and his team created a basic text web
browser. It was the release of the more user-friendly Mosaic browser in 1993
that really sparked widespread interest in the World Wide Web (WWW). Mosaic
had a clickable interface similar to what people were already familiar with on
personal computers, which made it easier for everyone to use the internet.
Mosaic was developed by Marc Andreessen and others in the United States.
They later made Netscape Navigator, which became the most popular browser
in 1994. Microsoft’s Internet Explorer took over in 1995 and held the top spot
for many years. Mozilla Firefox came out in 2004, followed by Google Chrome
in 2008, both challenging IE’s dominance. In 2015, Microsoft replaced Internet
Explorer with Microsoft Edge.
Lecture Topic CO PO
No.
HTTP stands for HyperText Transfer Protocol. It is the main way web browsers and servers
communicate to share information on the internet. Tim Berner invents it. HyperText is the type of text that is
specially coded with the help of some standard coding language called HyperText Markup Language
(HTML). HTTP/2 is the new version of HTTP. HTTP/3 is the latest version of HTTP, which is published in
2022.
When you visit a website, HTTP helps your browser request and receive the data needed to display the web
pages you see. It is a fundamental part of how the internet works, making it possible for us to browse and
interact with websites. In this article, we are going to discuss the Full form of HTTP along with its working,
advantages, and disadvantages.
What is the Full Form of HTTP?
HTTP stands for “Hypertext Transfer Protocol.” It is a set of rules for sharing data on the World Wide
Web (WWW). HTTP helps web browsers and servers communicate, allowing people to access and share
information over the internet.
Key Points
Basic Structure: HTTP forms the foundation of the web, enabling data communication and file sharing.
Web Browsing: Most websites use HTTP, so when you click on a link or download a file, HTTP is at work.
Client-Server Model: HTTP works on a request-response system. Your browser (client) asks for
information, and the website’s server responds with the data.
Application Layer Protocol: HTTP operates within the Internet Protocol Suite, managing how data is
transmitted and received.
What is HyperText?
The protocol used to transfer hypertext between two computers is known as HyperText Transfer Protocol.
HTTP provides a standard between a web browser and a web server to establish communication. It is a set of
rules for transferring data from one computer to another. Data such as text, images, and other multimedia files
are shared on the World Wide Web. Whenever a web user opens their web browser, the user indirectly uses
HTTP. It is an application protocol that is used for distributed, collaborative, hypermedia information systems.
Working of HTTP [HyperText Transfer Protocol]
First of all, whenever we want to open any website we first open a web browser after that we will type the URL
of that website (e.g., [Link] ). This URL is now sent to the Domain Name Server (DNS). Then
DNS first checks records for this URL in their database, and then DNS will return the IP address to the web
browser corresponding to this URL. Now the browser is able to send requests to the actual server.
After the server sends data to the client, the connection will be closed. If we want something else from the
server we should have to re-establish the connection between the client and the server.
Working off HTTPs
Electronic Mail
Introduction:
Electronic mail, commonly known as email, is a method of exchanging messages over the internet. Here are the
basics of email:
1. An email address: This is a unique identifier for each user, typically in the format of name@[Link].
2. An email client: This is a software program used to send, receive and manage emails, such as Gmail,
Outlook, or Apple Mail.
3. An email server: This is a computer system responsible for storing and forwarding emails to their intended
recipients.
To send an email:
Advantages Or Disadvantages:
Advantages of email:
Disadvantages of email: