§ — — Data Communications and Networking
The application layer provides network services used by software applications. It includes protocols for web browsing, email, name resolution, address assignment, file sharing, and other user-facing network functions.
In the TCP/IP model, many functions associated with the OSI application, presentation, and session layers are grouped into the application layer.
These functions may include:
Common protocols include:
| Protocol | Purpose |
|---|---|
| HTTP | Transfers web content. |
| HTTPS | Transfers web content securely using encryption. |
| SMTP | Sends email between clients and servers or between mail servers. |
| POP3 | Downloads email from a server to a client. |
| IMAP | Synchronizes email while keeping messages on the server. |
| DNS | Translates domain names to IP addresses. |
| DHCP | Automatically assigns IP configuration. |
| FTP/SFTP | Transfers files. |
| SMB | Shares files and printers in many local networks. |
In a client-server model, a client requests a service and a server responds. For example, a browser requests a webpage from a web server. The server sends back the requested content if the request is valid and allowed.
In peer-to-peer networking, devices can share resources directly without a dedicated server. A device may be a client for one exchange and a server for another. Peer-to-peer applications may also use central services to help peers find resources.
HTTP is used to request and deliver web content. HTTPS adds encryption and authentication support, protecting the communication from easy interception or tampering.
A typical web request involves:
Email uses multiple protocols because sending and retrieving mail are different tasks.
| Protocol | Role |
|---|---|
| SMTP | Sends outgoing mail. |
| POP3 | Retrieves mail by downloading it to a client. |
| IMAP | Retrieves and synchronizes mail across devices. |
IMAP is useful when users check the same mailbox from multiple devices.
DNS translates human-readable names into IP addresses. Without DNS, users would need to remember IP addresses for websites and services.
DHCP automatically provides IP settings such as IP address, subnet mask, default gateway, and DNS server. This reduces manual configuration work and helps prevent duplicate addresses.
File sharing protocols allow users to access files over a network. SMB is common in many local networks for file and printer sharing. Secure file transfer options are preferred when data crosses untrusted networks.
ProReviewer — locked
Drills, code labs, and full solutions.
ProReviewer — locked
Drills, code labs, and full solutions.
ProReviewer — locked
Drills, code labs, and full solutions.
Done with this module? Track it — your progress shows on the subject list.
Up next
Network Security Fundamentals→←Previous: Transport Layer