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

📄 dlpjava a data link protocol simulator.htm

📁 本程序是用java编写的一些关于arq协议实现的小程序
💻 HTM
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0039)http://www.macs.hw.ac.uk/~pjbk/dlpjava/ -->
<HTML><HEAD><TITLE>dlpjava: a data link protocol simulator</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY background="dlpjava a data link protocol simulator.files/chalk.jpg">
<H1>dlpjava: a data link protocol simulator</H1>
<H2>Peter JB King</H2><IMG src=""> 
<P>This tool enables students to write connection oriented data link protocols 
in Java and have them tested on a simulated communication channel. The simulator 
checks for common protocol errors such as delivering packets out of order, or 
losing packets. It should run on any Java system. </P>
<P>It also provides simple visualisation of data frames travelling along the 
communications channel, indicating whether or not they have encountered 
transmission errors. The example below shows the channel from A to B with two 
data frames in transit, the first of which has encountered a transmission erro 
and is shaded. The second one has (so far) transmitted successfully, and is a 
solid blue colour. The red boxes indicate that the netwrok layer has been 
instructed not to provide any more packets for transmission. The list A80, A81, 
etc at the A end of the channel indicates the identities of packets that the A 
protocol has accepted for transmission, but that have not yet been delivered to 
B. </P>
<HR>
<IMG src="dlpjava a data link protocol simulator.files/visualisation.png"><BR>
<HR>

<H2>Getting the Software</H2>
<P>The system is packaged as a Java Jar file, along with the documentation for 
the system in LaTeX. For convenience, both <A 
href="http://www.macs.hw.ac.uk/~pjbk/dlpjava/dlpjava.tgz">Unix tar</A> format 
and <A href="http://www.macs.hw.ac.uk/~pjbk/dlpjava/dlpjava.zip">ZIP</A> format 
archives are provided. You only need to download one. Unpacking themthe archive 
in a temporary directory gives several files <PRE>          dlpjava     -- the script to run the simulator under Unix
          dlpjava.mk  -- component of Unix dlpjava system
          dlpjava.jar -- jar file
          README      -- this file
          Install     -- Unix installation script
          documents   -- directory of user documentation
</PRE>To install under Unix, choose a name for the script, and a directory to 
store the jar file and the .mk file in. Suppose the script is to be in 
<CODE>/usr/local/bin/dlpjava</CODE> and the directory is to be 
<CODE>/usr/local/lib/dlpjava</CODE> Execute <PRE><CODE>
        Install /usr/local/bin/dlpjava /usr/local/lib/dlpjava
</CODE></PRE>You will need to modify the documentation to reflect how users can 
run the system. 
<P></P>
<P>Under Windows, you will need to copy the <CODE>dlpjava.jar</CODE> file to a 
location that can be accessed by all users and modify the documentation 
accordingly. </P>
<H2>User Manual</H2>Here is a copy of the <A 
href="http://www.macs.hw.ac.uk/~pjbk/dlpjava/user.ps">user manual</A>. 
<H2>Feedback</H2>
<P>I would be very pleased to receive any feedback that you wish to give me on 
this simulator. <A href="mailto:pjbk@macs.hw.ac.uk">Mail me</A> at 
pjbk@macs.hw.ac.uk. </P>
<P><A href="http://www.macs.hw.ac.uk/~pjbk/">Back to Peter King's home page</A> 
</P></BODY></HTML>

⌨️ 快捷键说明

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