Computer Networks · HTTP and Application Layer
Role of Application Layer and List of Syllabus Protocols (DNS, HTTP, FTP, SMTP, POP)
Overview
The application layer is the layer responsible for all the services the Internet provides, making things easier for the user on the client side and providing the service on the server side.
Because the Internet offers thousands of services, there are thousands of application-layer protocols, but the syllabus names only five: DNS, HTTP, FTP, SMTP and POP.
Key concepts
- Application layer: the layer responsible for all the services that the Internet provides.
- Client side: at the user side, the application layer makes things easier for the user.
- Server side: at the server side, the application layer is where the server provides the service to the client.
- One protocol per service: for every service there is some application-layer protocol; for example, the web service uses HTTP/HTTPS.
- Thousands of protocols: since there are thousands of services, there are thousands of application-layer protocols, and new protocols keep coming up every day.
- Syllabus scope: the syllabus does not include all application-layer protocols, only a few explicitly named ones — DNS, HTTP, FTP, SMTP and POP, written as "application layer protocols" with these five names in brackets.
- ICMP is not an application-layer protocol: the syllabus also lists ICMP, but this is a mistake — ICMP works at the network layer.
How it works
- The Internet offers thousands of services.
- For every service there is some application-layer protocol (for example, HTTP/HTTPS for the web service).
- New application-layer protocols keep coming up every day.
- The syllabus covers only the five explicitly named application-layer protocols: DNS, HTTP, FTP, SMTP and POP.
- ICMP also appears in the syllabus list, but it does not belong to the application layer; it belongs to the network layer.
Comparison
| Protocol | Listed in syllabus under application layer | Remark |
|---|---|---|
| DNS | Yes | One of the five named application-layer protocols |
| HTTP | Yes | One of the five named application-layer protocols |
| FTP | Yes | One of the five named application-layer protocols |
| SMTP | Yes | One of the five named application-layer protocols |
| POP | Yes | One of the five named application-layer protocols |
| ICMP | Listed, but wrongly | Does not work at the application layer; belongs to the network layer |
Revision summary
- Application layer = all Internet services; client side = user convenience, server side = service provision.
- Thousands of services imply thousands of application-layer protocols, and new ones appear regularly.
- Only five application-layer protocols are in the syllabus: DNS, HTTP, FTP, SMTP, POP.
- ICMP appears in the syllabus list by mistake — it is a network-layer protocol, not an application-layer protocol.
- The web service uses HTTP/HTTPS.
Previous-year exam insights
- Email sending uses SMTP (push, client to server and server to server); email retrieval/access uses POP3 or IMAP (pull, mailbox server to client).
SMTP is a push protocol, POP3/IMAP are pull protocols.
Asked inGATE 2019GATE 2011ISRO 2017 - SMTP, HTTP, FTP, DNS-zone-transfer and POP3/IMAP run over TCP; DNS queries, DHCP, TFTP, SNMP and real-time multimedia (RTP) typically use UDP.
Asked inGATE 2013GATE 2012 - MIME extends SMTP to carry non-ASCII/multimedia content (images, audio, video, attachments) by encoding; SMTP alone handles only 7-bit ASCII text.
Asked inUGC NET 2015GATE 2019 - IMAP keeps messages on the server (central repository, accessible from any machine, supports partial download of headers) whereas POP3 downloads and typically deletes mail from the server; POP3 has delete mode and keep mode.
Asked inUGC NET 2020UGC NET 2016ISRO 2017 - Protocol commands: SMTP uses HELO/EHLO, MAIL FROM, RCPT TO, DATA; HTTP uses GET, HEAD, POST, PUT, DELETE; FTP uses USER, PASS, PORT, RETR, STOR; POP3 uses USER, PASS, STAT, LIST, RETR, DELE, QUIT.
Asked inGATE 2006GATE 2005 - Layer mapping: SLIP is data link; UDP/TCP are transport; BGP (runs over TCP port 179) and RIP (over UDP port 520) are application-layer protocols in the TCP/IP model although they perform routing for the network layer; SNMP, DNS, HTTP, FTP, SMTP, POP3, IMAP, TELNET are application layer.
Asked inUGC NET 2020