1. Gyanastra
  2. Computer Networks
  3. Recap and Background
  4. Mandatory vs Optional Network Functions
Free lesson, no account needed 2 min read 6 practice questions after it

Computer Networks · Recap and Background

Mandatory vs Optional Network Functions

Overview

For two processes on two different hosts at two different locations to communicate, several functionalities are required.
These functionalities fall into two classes: mandatory functions, which must be provided to every process, and optional functions, which a process must arrange for itself if it needs them.

Key concepts

  • Communication requirement: Communication between two processes on two different hosts at two different locations needs several functionalities.
  • Mandatory functions: Functions that must be provided to every process, independent of what the process is doing. They are built into the general-purpose software and hardware.
  • Optional functions: Functions that need not be provided to every process. A process that needs an optional function has to take care of it itself.
  • Two-part split: Based on this division, the set of functions is split into a mandatory part and an optional part.

How it works

  1. Two processes on two different hosts in two different locations require various functionalities to communicate.
  2. These functionalities fall into two classes: mandatory and optional.
  3. Mandatory functions are provided to every process regardless of its application or purpose; they are built into the general-purpose software and hardware.
  4. Optional functions are not provided to everyone in the general-purpose software and hardware; a process that needs one must arrange or provide it itself.
  5. The set of functions is therefore split into the mandatory part and the optional part.

Comparison

ClassMeaningWho provides it
MandatoryMust be given to every process, independent of what the process doesProvided in general-purpose software and hardware
OptionalNot needed by every process; only processes that require them use themThe process itself must take care of it

Revision summary

  • Communication between two processes on two different hosts at two different locations needs multiple functionalities.
  • Functions are of exactly two classes: mandatory and optional.
  • Mandatory means provided to every process, independent of its behaviour.
  • Optional means not provided to everyone; the process that needs it must handle it itself.
  • General-purpose software and hardware do not include the optional functions.
Pages 1–2 of 2