Simulation of Sliding Window Protocol

Input the frame to sent. Send the frame to the receiver and set the clock. Check the receiver, if the frame is correctly received or not. I. If the frame is received correctly, then sent the acknowledgment to the sender side with in a particular time. Time is calculated by the formula t=(f-s)/clk-tck II. Else display error in frame. Then retransmit the frame. If any error in the frame, receiver discards the entire frame after it. Then the sender retransmit frame from error.

Tags :
Your rating: None Average: 4.3 (3 votes)