Press Start to start the simulation.
When a simulation starts, the transmitter sends a packet to the receiver every time unit unless its window is full, i.e. there are W unacknowledged packets in the queue.
Following assumptions and simplifications are made in this simulation:
Node named Name | |
Packet with a sequence number of SN | |
Erroneous packet with a sequence number of SN | |
ACK packet acknowledging the packet with a sequence number SN | |
NAK packet requesting the packet with a sequence number SN | |
SN min | Sequence number of the first unacknowledged packet |
SN max | Sequence number of the last packet that can be sent without further acknowledgement from the receiver. The difference between SN min and SN max is the window size. |
SN next | Sequence number of the first unsent packet |