Skip to content

ACtE0505 Application layer

Core application-layer idea

  • Application layer provides user-visible network services such as web access, file transfer, e-mail, naming, and remote communication.
  • In TCP/IP teaching, functions of OSI application, presentation, and session are often folded into the application layer.

Web protocols

Item Meaning Cue
HTTP Hypertext Transfer Protocol Plain web transfer, port 80
HTTPS HTTP over TLS Encrypted web transfer, port 443

Facts:

  • HTTP is stateless at protocol level.
  • HTTPS is not a separate application idea from HTTP; it is HTTP secured by TLS.
  • SSL is the historical predecessor term; TLS is the current protocol family.

File transfer and remote-access tools

Name What it actually is Trap to avoid
FTP File Transfer Protocol Real protocol
SFTP SSH File Transfer Protocol Different from FTP
SCP Secure copy over SSH Command/tool family, not FTP
PuTTY Terminal emulator and SSH/Telnet client tool Tool, not protocol
WinSCP File transfer client tool Tool, not protocol

Mandatory distinction:

  • Do not treat PuTTY or WinSCP as protocols.
  • FTP is the protocol; PuTTY and WinSCP are software tools that may use protocols such as SSH, SFTP, SCP, or FTP.

Electronic mail

Protocol Main role
SMTP Sending and relaying mail
POP3 Simple mailbox retrieval, often download-oriented
IMAP Mail access with server-side folders and synchronization

Typical ports often remembered: SMTP 25, POP3 110, IMAP 143.

DNS

  • DNS stands for Domain Name System.
  • It maps human-readable domain names to IP addresses and other resource records.
  • It is hierarchical and distributed.
  • Common record cues: A for IPv4, AAAA for IPv6, MX for mail exchange, CNAME for alias.

P2P applications

  • Peer-to-peer applications let end systems act as both client and server.
  • Resource sharing is distributed rather than centrally hosted.
  • Examples include file-sharing and distributed collaboration systems.

Socket programming concept

  • Socket programming exposes endpoint creation, binding, listening, connecting, sending, and receiving.
  • TCP server pattern: socket -> bind -> listen -> accept -> exchange data.
  • UDP server pattern: socket -> bind -> receive datagrams; no connection setup like TCP.

Application server concept

  • An application server hosts business logic or dynamic service execution for client requests.
  • It differs from a simple static file server because it can run application code, manage sessions, use databases, and enforce server-side logic.

Network monitoring, management, analysis, and simulation tools

Name Primary role
SNMP Network management protocol for monitoring and control
MRTG Multi Router Traffic Grapher; trend graphing and bandwidth monitoring
PRTG Network monitoring software suite
Packet Tracer Network simulation and learning tool
Wireshark Packet capture and protocol analysis tool

Trap:

  • Wireshark is a protocol analyzer tool, not a protocol.
  • SNMP is a protocol, while MRTG and PRTG are monitoring tools that may use SNMP data.

Application-layer examples

  1. If the stem asks for name-to-IP resolution, choose DNS.
  2. If a software name appears alongside protocols, first ask whether it is a tool rather than a protocol.
  3. If encrypted web is required, HTTPS means HTTP running over TLS.

ACtE0505 revision box

  • HTTP 80, HTTPS 443, FTP 21 control, SMTP 25, DNS 53.
  • PuTTY and WinSCP are tools, not protocols.
  • DNS is hierarchical name resolution.
  • SMTP sends mail; POP3 and IMAP retrieve mail.
  • Wireshark analyzes packets; SNMP is the management protocol.