📄 alternating bit protocol.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0064)http://www.macs.hw.ac.uk/~pjbk/nets/protocolsimulations/abp.html -->
<HTML><HEAD><TITLE>Alternating Bit Protocol</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY background="Alternating Bit Protocol.files/simulator.jpg">
<CENTER>
<H1>Alternating Bit Protocol Simulator</H1><IMG
src="Alternating Bit Protocol.files/simulator.gif"> </CENTER>
<H2>Protocol Description</H2>ABP (Alternating Bit Protocol) is a connection-less
protocol for transferring messages in one direction between a pair of protocol
entities. It is a simple form of the Sliding Window Protocol with a window size
of 1. The message sequence numbers simply alternate between 0 and 1. ABP is also
known as <I>Stop and Wait</I>.
<P>The protocol simulation shows a time-sequence diagram with transmitting and
receiving protocol entities, and a communications medium that carries messages.
The transmitter simply sends messages numbered <I>DATA(0)</I> or <I>DATA(1)</I>;
the content of messages is not identified. These are acknowledged with
<I>ACK(1)</I> or <I>ACK(0)</I> respectively. The number in the <I>ACK</I>
message identifies the <I>next</I> sequence number the protocol will accept.
Note that if a <I>DATA</I> message is received again because of re-transmission,
it will be acknowledged but discarded.
<H2>Protocol Simulation</H2>Either click on the potential next event listed at
the bottom, or let the simulation run automatically by clicking the ``Run''
button. At any stage you can undo the last event using the ``Undo'' button.
<HR>
<APPLET height=600 alt="ABP simulation failed" archive=ProtocolSimulator.jar
width=650 code=simulator.ProtocolSimulator.class name=ProtocolSimulator><PARAM NAME="protocol" VALUE="ABP">
You must have Java enabled to view the animation</APPLET>
<HR>
</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -