# Selective Repeat Protocol Demo

This applet animates the Selective Repeat protocol, covered in chapter 3 of the text. In this applet, the sending window limits the sender to a maximum of five outstanding, unacknowledged packets. To send a new packet, click on the "Send New" button below. This will create a packet and begin the simulation of data moving between sender and receiver. To simulate the loss of a packet or acknowledgment, click on the packet (or acknowledgement) and then press the "Kill Packet/Ack" button. Use the "Stop Animation" button to make selecting the packet easier. Press the "Resume" button to continue the simulation. You may speed up or slow down the simulation by using the "Faster" or "Slower" buttons respectively. NOTE: To properly run this applet, J2SE 1.4.2 needs to be installed on your machine

View Code.

Original applet was coded by Joshua McKinzie for Professor Dr. Wen-Jung Hsin, Park University (2005).
Applet revamped and enhanced by Matt Shatley and Chris Hoffman for Professor Paul Amer, University of Delaware (2008).