Simple Transport Layer Protocol

 

Simple Transport Layer Protocol

Introduction

The Simple Protocol is the most basic transport-layer protocol.

It is a connectionless protocol that provides only packet delivery. It does not provide:

  • Flow Control
  • Error Control
  • Congestion Control
  • Packet Sequencing
  • Acknowledgments

Its only responsibility is to accept data from the application layer, encapsulate it into packets, and send the packets to the receiver.


Characteristics of the Simple Protocol

  • Connectionless protocol
  • No connection establishment
  • No acknowledgments (ACK)
  • No sequence numbers
  • No retransmission
  • No flow control
  • No error detection or correction
  • No congestion control
  • Data packets are transmitted independently

Assumptions of the Simple Protocol

To simplify communication, the protocol makes the following assumptions:

1. Error-Free Network

Packets are never corrupted.



2. No Packet Loss

Every packet reaches the receiver.



3. No Receiver Overload

The receiver can process every incoming packet immediately.

The receiver is never overwhelmed.

Sender

100 Packets

↓

Receiver

Can process all immediately

4. No Delay Problems

Packets arrive in the same order in which they are transmitted.


Working of the Simple Protocol

The operation of the protocol is straightforward.

Step 1

The sender application generates a message.

Application

↓

Message

Step 2

The sender transport layer receives the message.

Message

↓

Transport Layer

Step 3

The transport layer encapsulates the message.

It adds the transport-layer header.

+-----------------------+----------------------+
| Transport Header      | Application Message  |
+-----------------------+----------------------+

Step 4

The packet is sent to the receiver.

Sender

↓

Packet

↓

Network

↓

Receiver

Step 5

The receiver transport layer receives the packet.

Network

↓

Transport Layer

Step 6

The transport layer removes the header.

Packet

↓

Remove Header

↓

Original Message

Step 7

The message is delivered to the application.

Transport Layer

↓

Application

Communication Diagram

Sender Host                              Receiver Host

Application Layer                        Application Layer
        │                                      ▲
        │ Message                              │ Message
        ▼                                      │
Transport Layer                        Transport Layer
(Encapsulate)                          (Decapsulate)
        │                                      ▲
        │ Packet                               │
        ▼                                      │
     ================== Network ====================




Finite State Machine (FSM)

The behavior of the Simple Protocol can be represented using a Finite State Machine (FSM).

Since there is no connection establishment, no acknowledgments, and no waiting, each machine has only one state.



Sender FSM

          +----------------+
          |     READY      |
          +----------------+
                 │
 Application has a message
                 │
                 ▼
      Encapsulate Packet
      Send Packet
                 │
                 ▼
          +----------------+
          |     READY      |
          +----------------+

Explanation

  • Initially, the sender is in the READY state.
  • It waits until the application generates a message.
  • When a message arrives:
    • It encapsulates the message.
    • Sends the packet.
  • It immediately returns to the READY state to wait for the next message.

Receiver FSM

          +----------------+
          |     READY      |
          +----------------+
                 │
         Packet Arrives
                 │
                 ▼
      Remove Header
      Deliver Message
                 │
                 ▼
          +----------------+
          |     READY      |
          +----------------+

Explanation

  • The receiver remains in the READY state.
  • When a packet arrives:
    • It decapsulates the packet.
    • Delivers the message to the application.
  • It immediately returns to the READY state.

Thus, both sender and receiver always remain in the READY state.


Example

Suppose the sender wants to send three messages.

Application

Message 1

Message 2

Message 3

The transport layer simply sends them one after another.

Sender

Packet 1

↓

Packet 2

↓

Packet 3

Receiver

Packet 1

↓

Message 1

Packet 2

↓

Message 2

Packet 3

↓

Message 3

The sender never waits for acknowledgments.



Advantages of the Simple Protocol

  • Very easy to implement.
  • Minimal processing overhead.
  • High transmission speed.
  • Suitable for ideal, error-free networks.
  • Forms the foundation for understanding more advanced transport protocols.

Limitations

The Simple Protocol has several limitations:

  • No flow control (receiver may become overloaded).
  • No error control (cannot detect corrupted or lost packets).
  • No acknowledgments.
  • No retransmissions.
  • No sequence numbers.
  • No congestion control.
  • Suitable only for ideal communication environments.

Practical Relevance

The Simple Protocol is mainly a theoretical model used for learning. It is not used directly in real-world networks because practical networks experience errors, packet loss, and congestion.

Protocols such as UDP are based on the same basic idea but include additional features such as port addressing and checksums, while TCP extends the concept further by providing flow control, error control, congestion control, and reliable communication.


Summary

  • A Transport-Layer Protocol defines the rules for process-to-process communication between applications running on different hosts.
  • Different protocols are created by combining services such as flow control, error control, congestion control, and connection management.
  • The Simple Protocol is the most basic transport-layer protocol. It is connectionless and provides only basic packet delivery.
  • It assumes an ideal network where packets are never lost, corrupted, or delayed, and the receiver is always ready to accept incoming packets.
  • Both the sender and receiver remain in a single READY state, making the protocol extremely simple.
  • Although the Simple Protocol is not used in practical networks, it provides the conceptual foundation for understanding more advanced transport protocols such as UDP and TCP.

Comments

Popular posts from this blog

Computer Networks PCCST501 Semester 5 KTU CS 2024 Scheme - Dr Binu V P

Introduction to Computer Networks

TCP/IP Protocol Suite