⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gupta5463.htm

📁 本程序是用java编写的一些关于arq协议实现的小程序
💻 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:&quot;Times New Roman&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA">&nbsp;&nbsp; the&nbsp; start&nbsp; button&nbsp;      is&nbsp; pressed ,&nbsp; the&nbsp; sender&nbsp; starts&nbsp; transmitting      the packets. When the receiver receives these packets,&nbsp; it&nbsp;      sends&nbsp; acknowledgements&nbsp; for&nbsp; each of the correctly&nbsp;      received&nbsp; packet. The&nbsp; packets are&nbsp; shown in&nbsp; red      color&nbsp; and&nbsp; the&nbsp; acknowledgements&nbsp; in&nbsp;      yellow&nbsp; color.&nbsp; 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&nbsp; received and&nbsp; the&nbsp; packet's&nbsp; sequence&nbsp; 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&nbsp; any&nbsp; previously&nbsp;      buffered&nbsp; packets are delivered to the upper layer. The receive      window is then moved forward by the&nbsp; number of&nbsp; packets      delivered&nbsp; to&nbsp; the&nbsp; upper&nbsp; layer. The applet&nbsp;      can&nbsp; be&nbsp; paused&nbsp; at any&nbsp; instant&nbsp; by&nbsp;      clicking on&nbsp; the stop&nbsp; button&nbsp; and&nbsp; can&nbsp; be&nbsp;      started&nbsp; again by clicking on the start button. Clicking on the reset      button&nbsp; resets the applet. The complete operation of protocol can be      seen in case of any&nbsp; pkt/ack&nbsp; loss.&nbsp; Any packet or      acknowledgement can be selected&nbsp; from&nbsp; the&nbsp; drop-down&nbsp;      menu and then dropped by clicking&nbsp; on&nbsp; the drop&nbsp; button.      The&nbsp; speed&nbsp; of&nbsp; the&nbsp; pkts/ack traveling can be      increased or decreased using speed up or speed down button. In case of any      packet or ACK&nbsp; 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>&nbsp;</p></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -