Professional Documents
Culture Documents
Computer Networks Application Layer Application Layer
Computer Networks Application Layer Application Layer
Computer Networks Application Layer Application Layer
Part 5
Application Layer
Dr. Nesreen I Ziedan
Outline
Introduction
Addressing and requirements
Application protocols
HTTP
FTP
Mail
DNS
Introduction
A process is a program running in an end system
Processes running on the same end system
communicate with each other using interprocess
communication
Processes on different end systems communicate
with each other by exchanging messages
Networking applications have application-layer protocols
that define the format and order of the messages
exchanged between processes, as well as the actions
taken on the transmission or receipt of a message
Addressing Processes
In order for a process on one host to send a
message to a process on another host, the sending
process must identify the receiving process by
specifying
The name or address (IP in the Internet) of the host
The port number that specifies the identity of the
receiving process on the destination host
User Agent
The user agent is an interface between the user and
the network application
Example: a browser is a user agent that allows a
user to navigate the web, and also implements the
client side of the HTTP protocol
Thus, when activated, the browser is a process that, along
with providing an interface to the user, sends messages
into a socket
2. Bandwidth:
10
11
12
13
14
Benefits
Web caches can substantially reduce the response time
for client requests
Web caches can substantially reduce traffic on an
institution's access link to the Internet, and can also
substantially reduce web traffic in the Internet as a whole,
thereby improving performance for all applications
An Internet dense with web caches provides an
infrastructure for rapid distribution of content
Computer Networks - Fall 2008
15
16
FTP
17
Sending/receiving mails
A sender composes a
message, its mail user agents
sends the message to its mail
server, where the message is
placed in the outgoing
message queue
The message is sent by SMTP
over a TCP connection
The recipient mail user agent
obtains the message from its
mailbox on the mail server
18
SMTP
19
20
21
22
23
DNS
24
25