📄 gupta5463.htm
字号:
<html><head><meta http-equiv="Content-Language" content="en-us"><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"><meta name="GENERATOR" content="Microsoft FrontPage 4.0"><meta name="ProgId" content="FrontPage.Editor.Document"><title>Selective Repeat Protocol</title></head><body><table border="1" width="97%" height="207"> <tr> <td width="50%" height="201"> <applet width="400" height="400" code="PacketRenderApplet.class"> </applet> </td> <td width="50%" height="201"> <p align="left"><b><u><font color="#000080">Description:</font></u></b></p> <p align="left"><font color="#000080"><span style="font-size: 10.0pt; font-family: Times New Roman; mso-fareast-font-family: Times New Roman; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">When</span><span style="font-size:10.0pt;font-family:"Times New Roman";mso-fareast-font-family:"Times New Roman";mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA"> the start button is pressed , the sender starts transmitting the packets. When the receiver receives these packets, it sends acknowledgements for each of the correctly received packet. The packets are shown in red color and the acknowledgements in yellow color. The window size is set to four. If the sequence number is within the sender's window ,sender sends the packets. If an ACK is received and the packet's sequence number is equal to base of the sender window, the window moves forward. At receiver out of order packets are buffered until any missing packets are received. If a received packet has sequence no. equal to the base of the receiver's window, then this packet, and any previously buffered packets are delivered to the upper layer. The receive window is then moved forward by the number of packets delivered to the upper layer. The applet can be paused at any instant by clicking on the stop button and can be started again by clicking on the start button. Clicking on the reset button resets the applet. The complete operation of protocol can be seen in case of any pkt/ack loss. Any packet or acknowledgement can be selected from the drop-down menu and then dropped by clicking on the drop button. The speed of the pkts/ack traveling can be increased or decreased using speed up or speed down button. In case of any packet or ACK loss the sender retransmits the packet after a fixed timeout interval.</span></font></p> </td> </tr></table><p><b><font color="#FF0000">NOTE: To view this applet correctly you need to haveatleast v1.3.1 of JRE<br> You can download it from</font> <a href="http://java.sun.com/j2se/1.3/download.html">http://java.sun.com/j2se/1.3/download.html</a></b></p><p> </p></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -