0% found this document useful (0 votes)
46 views

Application Layer Protocols: Jayashree N Mca 5 Sem Reg No: 2017MCA09 Dept: MCA

The document defines and compares several common application layer protocols: SMTP, TELNET, FTP, and HTTP. SMTP is used for electronic mail and transfers messages between mail servers using TCP connections. TELNET allows users to log into remote machines. FTP establishes two TCP connections to transfer files between hosts, one for control and one for data. HTTP is the primary protocol for accessing and transferring data on the World Wide Web and uses TCP for client requests and server responses.

Uploaded by

jayashree
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views

Application Layer Protocols: Jayashree N Mca 5 Sem Reg No: 2017MCA09 Dept: MCA

The document defines and compares several common application layer protocols: SMTP, TELNET, FTP, and HTTP. SMTP is used for electronic mail and transfers messages between mail servers using TCP connections. TELNET allows users to log into remote machines. FTP establishes two TCP connections to transfer files between hosts, one for control and one for data. HTTP is the primary protocol for accessing and transferring data on the World Wide Web and uses TCP for client requests and server responses.

Uploaded by

jayashree
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 20

Application Layer

Protocols
Jayashree N
MCA 5th sem
Reg no : 2017MCA09
Dept : MCA
Contents
 Definition
 Types
 Comparison
Definition
An application layer protocol defines how
application processes (clients and servers),
running on different end systems, pass
messages to each other. In particular, an
application layer protocol defines:

The types of messages, e.g., request


messages and response messages.
The syntax of the various message types,
i.e., the fields in the message and how the
fields are delineated.
Types
 SMTP
 TELNET
 FTP
 HTTP
SMTP (Simple Mail Transfer
Protocol):
 One of the most popular network service is
electronic mail (e-mail).
 The TCP/IP protocol that supports electronic
mail on the Internet is called Simple Mail
Transfer Protocol (SMTP).
 SMTP transfers messages from senders' mail
servers to the recipients' mail servers using TCP
connections.
 Users based on e-mail addresses.
 SMTP provides services for mail exchange
between users on the same or different
computers.
SMTP (Simple Mail Transfer
Protocol):
Following the client/server model:
 SMTP has two sides: a client side which
executes on a sender's mail server, and server
side which executes on recipient's mail
server.
 Both the client and server sides of SMTP run
on every mail server.
 When a mail server sends mail (to other mail
servers), it acts as an SMTP client.
 When a mail server receives mail (from other
mail servers) it acts as an SMTP server.
SMTP (Simple Mail Transfer
Protocol):
TELNET (Terminal Network):
TELNET is client-server application that
allows a user to log onto remote machine
and lets the user to access any application
program on a remote computer.
TELNET uses the NVT (Network Virtual
Terminal) system to encode characters on
the local system.
On the server (remote) machine, NVT
decodes the characters to a form acceptable
to the remote machine.
TELNET (Terminal Network):

 TELNET is a protocol that provides a


general, bi-directional, eight-bit byte
oriented communications facility.
 Many application protocols are built
upon the TELNET protocol
 Telnet services are used on PORT 23.
FTP (File Transfer Protocol):

 FTP is the standard mechanism provided


by TCP/IP for copying a file from one host
to another.
 FTP differs from other client-server
applications because it establishes 2
connections between hosts.
 Two connections are: Data Connection
and Control Connection.
FTP (File Transfer Protocol):
 Data Connection uses PORT 20 for the
purpose and control connection uses PORT
21 for the purpose.
 FTP is built on a client-server architecture
and uses separate control and data
connections between the client and the
server.
 One connection is used for data transfer,
the other for control information
(commands and responses).
 It transfer data reliably and efficiently .
FTP (File Transfer Protocol):
HTTP (Hypertext Transfer
Protocol):

 This is a protocol used mainly to access


data on the World Wide Web (www).
 The Hypertext Transfer Protocol (HTTP)
the Web's main application-layer protocol
although current browsers can access
other types of servers
 A respository of information spread all
over the world and linked together.
HTTP (Hypertext Transfer
Protocol):

 The HTTP protocol transfer data in


the form of plain text, hyper text,
audio, video and so on.
 HTTP utilizes TCP connections to
send client requests and server
replies.
 it is a synchronous protocol which
works by making both persistent and
non persistent connections.
HTTP (Hypertext Transfer
Protocol):
Comparison
Any Questions…

You might also like