Unit V Application Layer Protocols (DNS, SMTP, POP, FTP, HTTP) Study Notes
Unit V Application Layer Protocols (DNS, SMTP, POP, FTP, HTTP) Study Notes
Bathsheba Parimala,
Assistant Professor,Dept.of BCA,
St.John’s College, Palayamkottai
UNIT V
Application Layer Protocols (DNS, SMTP, POP, FTP, HTTP) Study Notes
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
Rules for determining when and how a process sends messages and responds to messages.
SMTP provides services for mail exchange between users on the same or different
computers.
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.
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.
FTP is the standard mechanism provided by TCP/IP for copying a file from one host to
another.
FTP differs form other client-server applications because it establishes 2 connections
between hosts.
Two connections are: Data Connection and Control Connection.
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.
Multipurpose Internet Mail Extensions (MIME):
It is an extension of SMTP that allows the transfer of multimedia messages.
If binary data is included in a message MIME headers are used to inform the receiving mail
agent:
1. Content-Transfer-Encoding: Header alerts the receiving user agent that the message body
has been ASCII encoded and the type of encoding used.
2. Content-Type: Header informs the receiving mail agent about the type of data included in
the message.
Computer Network Prepared by, A.Bathsheba Parimala,
Assistant Professor,Dept.of BCA,
St.John’s College, Palayamkottai
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.
The HTIP 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.
Computer Network Prepared by, A.Bathsheba Parimala,
Assistant Professor,Dept.of BCA,
St.John’s College, Palayamkottai
To identify an entity, TCP/IP protocol uses the IP address which uniquely identifies the
connection of a host to the Internet.
DNS is a hierarchical system, based on a distributed database, that uses a hierarchy of Name
Servers to resolve Internet host names into the corresponding IP addresses required for
packet routing by issuing a DNS query to a name server.
DNS in the Internet: DNS is protocol that can be used in different platforms.
Generic Domain: The generic domain defines registered hosts according, to their generic
behaviour. Each node in the tree defines a domain which is an index to the domain name
space database.
Country Domain: The country domain section follows the same format as the generic
domain but uses 2 characters country abbreviations (e.g., US for United States) in place of 3
characters.
Inverse Domain: The inverse domain is used to map an address to a name.
Overview of Services