NET 201 Module 8
NET 201 Module 8
OVERVIEW
Application Layer
Introduction Directory Services
Remote Application Processes File Services
Communication Communication Services
Application Layer Protocols Application Services
MODULE OUTCOMES
At the end of this module, the students must have:
distinguished the functionality of Transport Layer;
defined and differentiated the different Application Layer Protocols;
defined and differentiated Application Layer Services.
INTRODUCTION
Application layer is the top most layer in OSI and TCP/IP layered model. This layer exists in both
layered Models because of its significance, of interacting with user and user applications. This layer is
for applications which are involved in communication system.
A user may or may not directly interacts with the applications. Application layer is where the actual
communication is initiated and reflects. Because this layer is on the top of the layer stack, it does not
serve any other layers. Application layer takes the help of Transport and all layers below it to
communicate or transfer its data to the remote host.
When an application layer protocol wants to communicate with its peer application layer protocol on
remote host, it hands over the data or information to the Transport layer. The transport layer does the
rest with the help of all the layers below it.
DISCUSSION
There’is an ambiguity in understanding Application Layer and its protocol. Not every user application
can be put into Application Layer. except those applications which interact with the communication
system. For example, designing software or text-editor cannot be considered as application layer
programs.
On the other hand, when we use a Web Browser, which is actually using Hyper Text Transfer Protocol
(HTTP) to interact with the network. HTTP is Application Layer protocol.
Another example is File Transfer Protocol, which helps a user to transfer text based or binary files
across the network. A user can use this protocol in either GUI based software like FileZilla or CuteFTP
and the same user can use FTP in Command Line mode.
Hence, irrespective of which software you use, it is the protocol which is considered at Application
Layer used by that software. DNS is a protocol which helps user application protocols such as HTTP to
accomplish its work.
Two remote application processes can communicate mainly in two different fashions:
Peer-to-peer: Both remote processes are executing at same level and they exchange data
using some shared resource.
Client-Server: One remote process acts as a Client and requests some resource from another
application process acting as Server.
In client-server model, any process can act as Server or Client. It is not the type of machine, size of
the machine, or its computing power which makes it server; it is the ability of serving request that
makes a machine a server.
o In Client-server architecture, clients do not directly communicate with each other. For example,
in a web application, two browsers do not directly communicate with each other.
o A server is fixed, well-known address known as IP address because the server is always on
while the client can always contact the server by sending a packet to the sender's IP address.
It is a single-server based architecture which is incapable of holding all the requests from the clients.
For example, a social networking site can become overwhelmed when there is only one server exists.
Client
A client is a program that runs on the local machine requesting service from the server. A client
program is a finite program means that the service started by the user and terminates when the
service is completed.
Server
A server is a program that runs on the remote machine providing services to the clients. When the
client requests for a service, then the server opens the door for the incoming requests, but it never
initiates the service.
A server program is an infinite program means that when it starts, it runs infinitely unless the problem
arises. The server waits for the incoming requests from the clients. When the request arrives at the
server, then it responds to the request.
Communication
Two processes in client-server model can interact in various ways:
Sockets
Remote Procedure Calls (RPC)
Sockets
In this paradigm, the process acting as Server opens a socket using a well-known (or known by client)
port and waits until some client request comes. The second process acting as a Client also opens a
socket but instead of waiting for an incoming request, the client processes ‘requests first’.
When the request is reached to server, it is served. It can either be an information sharing or resource
request.
Network Services
Computer systems and computerized systems help human beings to work efficiently and explore the
unthinkable. When these devices are connected together to form a network, the capabilities are
enhanced multiple-times. Some basic services computer network can offer are.
Directory Services
These services are mapping between name and its value, which can be variable value or fixed. This
software system helps to store the information, organize it, and provides various means of accessing
it.
Accounting
In an organization, a number of users have their user names and passwords mapped to them.
Directory Services provide means of storing this information in cryptic form and make available
when requested.
Authentication and Authorization
User credentials are checked to authenticate a user at the time of login and/or periodically.
User accounts can be set into hierarchical structure and their access to resources can be
controlled using authorization schemes.
Domain Name Services
DNS is widely used and one of the essential services on which internet works. This system
maps IP addresses to domain names, which are easier to remember and recall than IP
addresses. Because network operates with the help of IP addresses and humans tend to
remember website names, the DNS provides website’s IP address which is mapped to its name
from the back-end on the request of a website name from the user.
File Services
File services include sharing and transferring files over the network.
File Sharing
One of the reason which gave birth to networking was file sharing. File sharing enables its
users to share their data with other users. User can upload the file to a specific server, which
is accessible by all intended users. As an alternative, user can make its file shared on its own
computer and provides access to intended users.
File Transfer
This is an activity to copy or move file from one computer to another computer or to multiple
computers, with help of underlying network. Network enables its user to locate other users in
the network and transfers files.
Communication Services
Email
Electronic mail is a communication method and something a computer user cannot work
without. This is the basis of today’s internet features. Email system has one or more email
servers. All its users are provided with unique IDs. When a user sends email to other user, it is
actually transferred between users with help of email server.
Social Networking
Recent technologies have made technical life social. The computer savvy peoples, can find
other known peoples or friends, can connect with them, and can share thoughts, pictures, and
videos.
Internet Chat
Internet chat provides instant text transfer services between two hosts. Two or more people
can communicate with each other using text based Internet Relay Chat services. These days,
voice chat and video chat are very common.
Discussion Boards
Discussion boards provide a mechanism to connect multiple peoples with same interests.It
enables the users to put queries, questions, suggestions etc. which can be seen by all other
users. Other may respond as well.
Remote Access
This service enables user to access the data residing on the remote computer. This feature is
known as Remote desktop. This can be done via some remote device, e.g. mobile phone or
home computer.
Application Services
These are nothing but providing network based services to the users such as web services, database
managing, and resource sharing.
Resource Sharing
To use resources efficiently and economically, network provides a mean to share them. This
may include Servers, Printers, and Storage Media etc.
Databases
This application service is one of the most important services. It stores data and information,
processes it, and enables the users to retrieve it efficiently by using queries. Databases help
organizations to make decisions based on statistics.
Web Services
World Wide Web has become the synonym for internet.It is used to connect to the internet,
and access files and information services provided by the internet servers.
Activity No. 1
Name: Date:
Year and Section: Signature:
(20 points) Give two protocols of the Application Layer and explained them.
Activity No. 2
Name: Date:
Year and Section: Signature:
(20 points) Write an essay about the difference of Peer to Peer and Client Server Model. Minimum of
150 words maximum of 300 words.
SUMMARY
The application layer is the topmost layer of the protocol hierarchy. It is the layer where actual
communication is initiated. It uses the services of the transport layer, the network layer, the data link
layer, and the physical layer to transfer data to a remote host. This chapter discusses some of the
application layer protocols in greater detail. These application layer protocols are as follows: Dynamic
Host Configuration Protocol (DHCP) and Domain Name System (DNS), File transfer protocol (FTP),
Hypertext transfer protocol (HTTP), Simple mail transfer protocol (SMTP), and Simple network
management protocol (SNMP). DHCP is defined in RFC 1541 and updated in RFC 2131. It was designed
to provide a centralized approach to configuring and maintaining IP addresses. The DNS is a
distributed, hierarchical database where authority flows from the top of the hierarchy downward. FTP is
a standard network protocol used to transfer computer files between two hosts on a computer
network.
Application Layer
Name: Date:
Year and Section: Signature:
REFERENCES
1. Kurose, Ross, et al. 2017. Computer Networking A Top-Down Approach. 7 th Edition. Pearson
Education Limited
2. Fox, Hao, et al. 2018. Internet Infrastructure – Networking, Web Services, and Cloud
Computing. Taylor & Francis Group, LLC
3. Data Communication and Networking. Retrieved from
https://www.tutorialspoint.com/data_communication_computer_network/index.htm
4. Network Protocols and its Security. Retrieved from https://www.w3schools.in/cyber-
security/network-protocols-and-its-security/
SUGGESTED READINGS
1. https://www.javatpoint.com/computer-network-application-layer
2. https://www.router-switch.com/faq/what-is-application-layer-the-functions-and-examples-
of-application-layer.html
3. https://www.techopedia.com/definition/6006/application-layer
4. https://www.tutorialspoint.com/data_communication_computer_network/application_layer_i
ntroduction.htm