NetSim
所属分类:网络
开发工具:Visual C++
文件大小:16534KB
下载次数:193
上传日期:2007-06-21 14:44:04
上 传 者:
2115923
说明: ns-2的代码,希望对大家有用哦,我会继续努力的哦
(ns-2 code, we hope to useful Oh, I will continue to work hard oh)
文件列表:
NetSim (0, 2002-08-01)
NetSim\fixbuild.pl (2572, 2002-07-19)
NetSim\License.txt (4023, 2002-08-01)
NetSim\makens.bat (274, 2002-07-19)
NetSim\ns-2.1b9 (0, 2002-08-01)
NetSim\ns-2.1b9\adc (0, 2002-08-01)
NetSim\ns-2.1b9\adc\acto-adc.cc (2060, 2002-07-19)
NetSim\ns-2.1b9\adc\actp-adc.cc (2435, 2002-07-19)
NetSim\ns-2.1b9\adc\adaptive-receiver.cc (1908, 2002-07-19)
NetSim\ns-2.1b9\adc\adaptive-receiver.h (1385, 2002-07-19)
NetSim\ns-2.1b9\adc\adc.cc (2672, 2002-07-19)
NetSim\ns-2.1b9\adc\adc.h (1727, 2002-07-19)
NetSim\ns-2.1b9\adc\consrcvr.cc (2185, 2002-07-19)
NetSim\ns-2.1b9\adc\estimator.cc (3545, 2002-07-19)
NetSim\ns-2.1b9\adc\estimator.h (2216, 2002-07-19)
NetSim\ns-2.1b9\adc\expavg-est.cc (1673, 2002-07-19)
NetSim\ns-2.1b9\adc\hb-adc.cc (2418, 2002-07-19)
NetSim\ns-2.1b9\adc\ms-adc.cc (2450, 2002-07-19)
NetSim\ns-2.1b9\adc\null-estimator.cc (1604, 2002-07-19)
NetSim\ns-2.1b9\adc\param-adc.cc (2963, 2002-07-19)
NetSim\ns-2.1b9\adc\pointsample-est.cc (1658, 2002-07-19)
NetSim\ns-2.1b9\adc\resv.cc (1378, 2002-07-19)
NetSim\ns-2.1b9\adc\resv.h (1587, 2002-07-19)
NetSim\ns-2.1b9\adc\sa.cc (7890, 2002-07-19)
NetSim\ns-2.1b9\adc\sa.h (1944, 2002-07-19)
NetSim\ns-2.1b9\adc\salink.cc (5019, 2002-07-19)
NetSim\ns-2.1b9\adc\salink.h (1620, 2002-07-19)
NetSim\ns-2.1b9\adc\simple-intserv-sched.cc (4271, 2002-07-19)
NetSim\ns-2.1b9\adc\tbf.cc (3367, 2002-07-19)
NetSim\ns-2.1b9\adc\tbf.h (1538, 2002-07-19)
NetSim\ns-2.1b9\adc\timewindow-est.cc (2049, 2002-07-19)
NetSim\ns-2.1b9\adc\ump.cc (2277, 2002-07-19)
NetSim\ns-2.1b9\adc\ump.h (2400, 2002-07-19)
NetSim\ns-2.1b9\allinone (0, 2002-08-01)
NetSim\ns-2.1b9\allinone\install (11715, 2002-07-19)
NetSim\ns-2.1b9\allinone\INSTALL.WIN32 (3469, 2002-07-19)
NetSim\ns-2.1b9\aodv (0, 2002-08-01)
NetSim\ns-2.1b9\aodv\aodv.cc (35072, 2002-07-19)
NetSim\ns-2.1b9\aodv\aodv.h (10399, 2002-07-19)
... ...
Command for removing files: "rm -f". Make sure that you have "rm.exe"
available on your path (and it takes the -f option for forced remove)
Fixing Build File
=================
Run the file called fixbuild.pl giving it the NS and Visual Studio.Net
paths (This file automates the instructions given below). Note that the paths
specified cannot contain spaces. So you have to give the DOS pathname for
Visual Studio (use dir /x to find that out in Program files)
e.g.,
fixbuild.pl -vs c:\Progra~1\Micros~1.Net -ns c:\Root\Work\MCoM\NetSim
Compiling NS
============
Change your directory to your NS directory. Run makens.bat.
Validation
==========
PERL: Make sure that this environment variable is set to your perl executable
Awk: Use the awk from Brian Kernighan's web page:
http://cm.bell-labs.com/cm/cs/who/bwk/awk95.exe
Manual Instructions
===================
Note: If you have installed VS.Net in the default place, you will not have to
modify most of the variables such as TOOLS32.
SetupNS.Bat
===========
* Run it before proceeding further. Also run it before running any NS simulation
* Set MyNetSim to be your directory where ns, tclcl,tcl, etc are kept
* Change the path to include: installed Tcl bin dir (Probably
c:\Progra~1\Tcl\bin), Tcl lib dir, NetSim ns dir, NetSim otcl dir, NetSeim
tclcl dir, NetSim tkdir (see sample file).
NOTE: If you chose the default directory structure for the NS, TCL, TK, etc
directories, you just have to modify MyNetSim
* Make sure that it runs the correct vcvars32.bat file, i.e., the VS.Net vcvars32.bat
TCL
===
* Edit /win/Makefile.vc:
- Set TOOLS32, TOOLS32_rc to the VS.Net directory
* Compile: nmake /f makefile.vc in win directory
* Install: nmake /f makefile.vc install
TCL will be installed in C:\Program Files\Tcl
TK
===
* Edit /win/Makefile.vc:
- Set TOOLS32, TOOLS32_rc to the VS.Net directory
* Compile: nmake /f makefile.vc in win directory
* Install: nmake /f makefile.vc install
TK will be installed in C:\Program Files\Tcl
OTCL
=====
* Edit Makefile.vc:
- Set TOOLS32, TOOLS32_rc to the VS.Net directory
* Compile: nmake /f makefile.vc
TCLCL
=====
* Edit conf/Makefile.win
- Set MSVCDIR to the VS.Net directory
- Set LOCAL_SRC to be your NetSim source dir, e.g., C:\Root\Work\Netsim
* Compile: nmake /f makefile.vc
NS
==
* Edit conf/makefile.win
- Set MSVCDIR to the VS.Net directory
- Set LOCAL_SRC to be your NetSim source dir, e.g., C:\Root\Work\Netsim
* Compile
nmake /f makefile.vc in the main directory
近期下载者:
相关文件:
收藏者: