Computer Science

Network Protocols Class 12 CBSE (083): HTTP, HTTPS, FTP, PPP, SMTP, TCP/IP, POP3, TELNET & VoIP

Class 12 · Computer Science

Network Protocols (CBSE Class 12 Computer Science - 083)

When computers communicate over a network, they must follow a common set of rules to ensure that data is transmitted correctly. These rules are called Network Protocols. Protocols define how data is formatted, transmitted, received, and interpreted between network devices.

Learning Objectives

  • Understand the concept of network protocols.
  • Learn the functions of common Internet protocols.
  • Differentiate between HTTP and HTTPS.
  • Understand the purpose of FTP, SMTP, POP3, PPP, TCP/IP, TELNET, and VoIP.
  • Compare commonly used protocols.

What is a Network Protocol?

A Network Protocol is a set of rules and standards that governs communication between computers and other devices connected to a network.

Definition: A network protocol is a standardized set of rules that enables devices to exchange data accurately and efficiently over a network.

Why Are Network Protocols Required?

  • Enable communication between different devices.
  • Ensure accurate data transmission.
  • Provide error detection and correction.
  • Maintain security during communication.
  • Allow devices made by different manufacturers to communicate.

Common Network Protocols

Protocol Full Form Main Purpose
HTTP HyperText Transfer Protocol Transfer web pages.
HTTPS HyperText Transfer Protocol Secure Secure web communication.
FTP File Transfer Protocol Transfer files.
PPP Point-to-Point Protocol Direct communication between two devices.
SMTP Simple Mail Transfer Protocol Send emails.
POP3 Post Office Protocol Version 3 Receive emails.
TCP/IP Transmission Control Protocol / Internet Protocol Internet communication.
TELNET Telecommunication Network Remote login.
VoIP Voice over Internet Protocol Voice communication over the Internet.

1. HTTP (HyperText Transfer Protocol)

HTTP is the standard protocol used for transferring web pages between a web browser and a web server.

Features

  • Used for web browsing.
  • Transfers HTML documents.
  • Does not encrypt data.
  • Fast and widely used.

Default Port

Port 80

Example


http://www.example.com

2. HTTPS (HyperText Transfer Protocol Secure)

HTTPS is the secure version of HTTP. It encrypts data exchanged between the browser and the web server using SSL/TLS encryption.

Features

  • Provides secure communication.
  • Encrypts transmitted data.
  • Protects passwords and banking information.
  • Used by secure websites.

Default Port

Port 443

Example


https://www.bank.com

Difference Between HTTP and HTTPS

HTTP HTTPS
Not secure. Secure communication.
No encryption. Encrypted using SSL/TLS.
Port 80. Port 443.
Suitable for general websites. Suitable for banking, shopping, and login websites.

3. FTP (File Transfer Protocol)

FTP is used to transfer files between computers over a network.

Features

  • Uploads files to servers.
  • Downloads files from servers.
  • Supports large file transfers.

Applications

  • Website maintenance.
  • Software distribution.
  • File sharing.

Default Port

Port 21


4. PPP (Point-to-Point Protocol)

PPP is a communication protocol used to establish a direct connection between two devices over serial communication links.

Features

  • Provides authentication.
  • Supports error detection.
  • Used in dial-up Internet connections.

Applications

  • Dial-up Internet.
  • Broadband communication.
  • Direct router-to-router communication.

5. SMTP (Simple Mail Transfer Protocol)

SMTP is the protocol used for sending emails from a sender to a mail server or between mail servers.

Features

  • Sends outgoing emails.
  • Transfers emails between mail servers.
  • Works together with POP3 or IMAP.

Default Port

Port 25

Applications

  • Gmail
  • Outlook
  • Yahoo Mail

6. POP3 (Post Office Protocol Version 3)

POP3 is the protocol used by email clients to receive emails from a mail server.

Features

  • Downloads emails to the user's device.
  • Supports offline reading.
  • Simple and widely used.

Default Port

Port 110


Difference Between SMTP and POP3

SMTP POP3
Used for sending emails. Used for receiving emails.
Transfers outgoing mail. Downloads incoming mail.
Port 25. Port 110.

7. TCP/IP (Transmission Control Protocol / Internet Protocol)

TCP/IP is the fundamental protocol suite of the Internet. It defines how data is divided into packets, transmitted, routed, and received.

Functions of TCP

  • Breaks data into packets.
  • Ensures reliable transmission.
  • Detects and corrects transmission errors.
  • Reassembles packets at the destination.

Functions of IP

  • Assigns IP addresses.
  • Routes packets to the correct destination.
  • Provides logical addressing.
Remember: TCP ensures reliable delivery, while IP determines the destination of data packets.

8. TELNET (Telecommunication Network)

TELNET is a protocol used for remote login and accessing another computer over a network.

Features

  • Remote command-line access.
  • Allows management of remote computers.
  • Transmits data without encryption.

Default Port

Port 23

Applications

  • Remote system administration.
  • Network device configuration.

9. VoIP (Voice over Internet Protocol)

VoIP enables voice communication over Internet Protocol (IP) networks instead of traditional telephone lines.

Features

  • Voice communication using the Internet.
  • Low-cost international calling.
  • Supports voice and video communication.

Applications

  • WhatsApp Calling.
  • Skype.
  • Zoom.
  • Google Meet.
  • Microsoft Teams.

Comparison of Network Protocols

Protocol Purpose Default Port
HTTP Web browsing 80
HTTPS Secure web browsing 443
FTP File transfer 21
SMTP Sending emails 25
POP3 Receiving emails 110
TELNET Remote login 23
PPP Point-to-point communication Not fixed
TCP/IP Internet communication Protocol Suite
VoIP Voice communication over the Internet Uses IP Network

Common Theory Mistakes

  • Confusing HTTP with HTTPS.
  • Assuming SMTP receives emails.
  • Confusing FTP with HTTP.
  • Thinking TCP and IP perform the same function.
  • Assuming VoIP is a hardware device instead of a communication technology.

Exam Tips

  • Remember: HTTP → Web Pages.
  • HTTPS is the secure version of HTTP and uses encryption.
  • FTP transfers files.
  • SMTP sends emails, whereas POP3 receives emails.
  • TCP ensures reliable delivery, while IP identifies and routes data to the destination.
  • TELNET provides remote login.
  • VoIP enables voice communication over Internet networks.
  • Memorize the default ports of HTTP (80), HTTPS (443), FTP (21), SMTP (25), POP3 (110), and TELNET (23).

Frequently Asked Questions (FAQs)

1. What is a network protocol?

A network protocol is a set of rules that enables devices to communicate and exchange data over a network.

2. What is the difference between HTTP and HTTPS?

HTTP transfers web pages without encryption, whereas HTTPS provides secure and encrypted communication using SSL/TLS.

3. Which protocol is used to send emails?

SMTP (Simple Mail Transfer Protocol) is used to send emails.

4. Which protocol is used to receive emails?

POP3 (Post Office Protocol Version 3) is commonly used to receive emails from a mail server.

5. What is the role of TCP/IP?

TCP/IP is the core protocol suite of the Internet. TCP ensures reliable data transmission, while IP handles logical addressing and routing of data packets.


Summary

  • Network protocols define the rules for communication between network devices.
  • HTTP and HTTPS are used for web browsing, with HTTPS providing secure communication.
  • FTP transfers files between computers.
  • PPP establishes direct point-to-point communication.
  • SMTP sends emails, while POP3 receives them.
  • TCP/IP forms the foundation of Internet communication by ensuring reliable transmission and proper routing.
  • TELNET enables remote login and system administration.
  • VoIP allows voice communication over Internet Protocol networks.