stopnwait.htm

来自「本程序是用java编写的一些关于arq协议实现的小程序」· HTM 代码 · 共 44 行

HTM
44
字号
<HTML>
<HEAD>
</HEAD>
<BODY>

<style type="text/css">
H1		{font-family:Arial, sans-serif; color:#8989DB; 
	 	font-size:19pt; font-weight:normal;}

P		{font-family:Arial, sans-serif; font-size:10pt;}

LI		{font-family:Arial, sans-serif; font-size:10pt;}

a:link	{color:#000066;}

a:visited	{color:#666666;}
</style>

<h1>Stop-and-Wait ARQ</h1>
<P>
This Java applet demonstrates the stop-and-wait automatic repeat request (ARQ) 
mechanism of data link error control. Stop-and-wait ARQ is based on the 
stop-and-wait flow control technique. The source station
transmits a single frame and then must await an acknowledgment (ACK). No other
data frames can be sent until the destination抯 reply arrives at the source
station. Two sorts of error could occur. First the frame that arrives at the
destination could be damaged. The second sort of error is a damaged
acknowledgment.
</P>

<P>&nbsp;</P>

<applet
	code=stopnWait.class
	name=stopnWait
	width=470
	height=400  VIEWASTEXT>
	<param name=label value="This string was passed from the HTML host.">
	<param name=background value="008080">
	<param name=foreground value="FFFFFF">
</applet>

</BODY>
</HTML>

⌨️ 快捷键说明

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