←Back to Subject
Notes
Notes
Study material and explanations
Diagrams
Diagrams
Visualize concepts easily
Mnemonics
Mnemonics
Tricks to remember faster
One Night Prep
One Night Prep
Short and focused revision
Revision
Revision
Quick summary and key points
Important Questions
Important Questions
Practice most relevant questions
Notes

Network Structure & Services: Connection-Oriented vs Connectionless

Study material and explanations for Unit 1

Network Structure and Services: Connection-Oriented vs Connectionless

When you open a library website, your laptop is an end system. The campus Wi-Fi provides access to the network, and routers in the network core forward packets towards the server. Each part plays a different role in one request.

To understand how data travels from your mobile phone to a YouTube server, you must understand the basic structure of a network and the two types of services it provides.


1. Network Structure: Edge vs. Core

A computer network is divided into two primary zones:

  1. The Network Edge (End Systems / Hosts):
    • The devices that you and I use: laptops, smartphones, desktop PCs, web servers, smart TVs.
    • These devices sit at the “edges” of the network and run user applications (browsers, games, apps).
  2. The Network Core (The Backbone):
    • The mesh of routers, switches, optical fiber cables, and satellite links that move data packets between end systems across cities and countries.

2. Point-to-Point vs. Broadcast Transmission

Point-to-point communication connects two endpoints on a link. On a broadcast link several stations receive the signal and inspect its destination.

  • Point-to-Point (Unicast) — Dedicated link between exactly two machines.
  • Broadcast Link — A single shared communication channel.

View diagram · Point-to-Point vs Broadcast Transmission


3. Network Services: Connection-Oriented vs. Connectionless

This is one of the most frequently asked questions in BCA exams:

A connection-oriented service establishes state before exchanging data. A connectionless service handles each message without setting up that connection.

  • Connection-Oriented (TCP) — Handshake first ➔ Data transfer ➔ Disconnect. Guaranteed delivery & error checking
  • Connectionless (UDP) — Send packets directly with no handshake. Fast, but no guarantee of delivery

View diagram · Two Fundamental Network Service Types


Master Comparison: Connection-Oriented vs. Connectionless

Comparison Parameter Connection-Oriented Service (e.g., TCP) Connectionless Service (e.g., UDP)
Real-Life Analogy Making a telephone call (dial number, wait for “Hello”, talk, hang up). Sending a postal postcard in a postbox (drop and forget).
Connection Setup Compulsory 3-way handshake before sending any data. Zero setup; packets (datagrams) are sent immediately.
Reliability & ACK 100% Reliable: Receiver sends Acknowledgement (ACK). Lost packets are resent. Unreliable: No ACKs. If a packet is lost, it is gone forever.
Packet Sequence Packets arrive in the exact correct order (1, 2, 3, 4). Packets may arrive out-of-order (3, 1, 4, 2).
Speed & Overhead Slower due to handshake, acknowledgements, and error checks. Ultra-fast with minimal delay and low network overhead.
Common Protocols TCP (HTTP/HTTPS web browsing, FTP file download, SMTP email). UDP (Live cricket streaming, online multiplayer gaming, DNS, VoIP).

💡 DAVV Exam Tip

Question (10 Marks): “Differentiate between Connection-Oriented and Connectionless services with suitable examples.”

  • Give the phone call vs postcard analogy.
  • Draw the comparison table with parameters: Handshake, Reliability, Packet ordering, Speed, Protocols.
  • Mention TCP as connection-oriented and UDP as connectionless.