A Utopian Simplex Protocol

The Simplex protocol is data link layer protocol for transmission of frames over computer network. It is hypothetical protocol designed for unidirectional data transmission over an ideal channel, i.e. a channel through which transmission can never go wrong.

It is assumed that both the sender and the receiver are always ready for data processing and both of them have infinite buffer. The sender simply sends all its data available onto the channel as soon as they are available its buffer. The receiver is assumed to process all incoming data instantly. It is does not handle flow control or error control. Since this protocol is totally unrealistic, it is often called Utopian Simplex protocol.

The significance of this protocol lies in the fact that it shows the basic structure on which the usable protocols are built upon.

Design

Algorithm of Simplex Protocol for Sender Site

begin while (true) //check repeatedly do Wait_For_Event(); //wait for availability of packet if ( Event(Frame_Available)) then Get_Data_From_Network_Layer(); Make_Frame(); Send_Frame_To_Physical_Layer(); end if end while end

Algorithm of Simplex Protocol for Receiver Site

begin while (true) //check repeatedly do Wait_For_Event(); //wait for arrival of frame if ( Event(Frame_Arrival)) then Receive_Frame_From_Physical_Layer(); Extract_Data(); Deliver_Data_To_Network_Layer(); end if end while end

Flow Diagram

The following flow diagram depicts communication via simplex protocol.