1. Gyanastra
  2. Computer Networks
  3. Transport Layer
  4. End-to-End Connectivity and Service Point Addressing (Port Numbers)
Free lesson, no account needed 3 min read 26 practice questions after it
Asked in past papers5 times
  • GATE CSE2004
  • UGC NET2022201720132010

Computer Networks · Transport Layer

End-to-End Connectivity and Service Point Addressing (Port Numbers)

Overview

The transport layer provides end-to-end connectivity: communication between a process on one host and a process on another host, possibly in a different network. The exact process at each end is identified by port numbers, a mechanism called service point addressing.

Key concepts

  • End-to-end connectivity: Communication between a process running on one host and a process running on another host, possibly in a different network. The two communicating processes are the "ends" of the communication.
  • Service point addressing: The mechanism used to identify the exact process at each end; it is done using port numbers.
  • Port numbers: The addressing scheme used to reach the correct process at each end; port numbers are service point addressing.
  • Scope of each layer: The transport layer handles end-to-end (process-to-process) connectivity, the network layer handles host-to-host connectivity, and the data link layer handles hop-to-hop connectivity.
  • Hop-to-hop: One jump only — host to closest router, router to router, router to router, and finally router to destination host. Each single jump is handled by the data link layer.

How it works

  1. A single host runs many processes at the same time. Each process may want to communicate with a process on some other host, and those hosts may even be in different networks.
  2. When a process on one host talks to a process on another host, this is end-to-end connectivity, and the transport layer is responsible for it.
  3. Responsibility is divided by scope across layers: transport layer for end-to-end (process-to-process) connectivity, network layer for host-to-host connectivity, data link layer for hop-to-hop connectivity.
  4. Hop-to-hop means one jump: host to closest router, router to router, router to router, and finally router to destination host; each single jump is handled by the data link layer.
  5. End-to-end means how the message travels from one process to the other process. The method generally used for this is port numbers, also called service point addressing.

Comparison

ScopeMeaningResponsible layer
End-to-endProcess on one host ↔ process on another hostTransport layer
Host-to-hostHost ↔ host (delivery to the correct machine)Network layer
Hop-to-hopOne jump: host→router, router→router, router→hostData link layer

Revision summary

  • The transport layer's main responsibility here is end-to-end connectivity between processes.
  • End-to-end means process-to-process, not just machine-to-machine; the processes may be in different networks.
  • Port numbers are service point addressing, the addressing scheme used to reach the correct process at each end.
  • Layer scopes to memorise: transport = end-to-end, network = host-to-host, data link = hop-to-hop (one jump).
  • Service point addressing (port numbers) is covered in detail later under TCP.

Previous-year exam insights

  • The transport layer is called the end-to-end or process-to-process layer; the network layer is host-to-host and the data link layer is hop-to-hop (node-to-node).
    Asked inGATE 2004UGC NET 2017
  • UDP is the connectionless, unreliable transport-layer protocol of the Internet protocol family; TCP is connection-oriented and reliable.
    Asked inUGC NET 2022
  • Port numbers are 16-bit quantities (0–65535): well-known ports 0–1023, registered ports 1024–49151, dynamic/ephemeral ports 49152–65535.
  • A transport-layer connection/socket is identified by the 4-tuple (source IP, source port, destination IP, destination port); a server socket in listening state is identified by local IP and port only.
  • The data link layer's job is reliable transfer over a single physical point-to-point link (framing, error control, flow control on the link), not routing; routing between network nodes is the network layer's job.
    Asked inGATE 2004
  • Service point addressing (ports) lets one host multiplex many processes over one IP address; IP addresses alone give only host-to-host (machine-to-machine) delivery, not process-to-process delivery.
Pages 1–2 of 2