Commit 6f349fd5 authored by Mac Newbold's avatar Mac Newbold
Browse files

Added ns run line to tutorial, sync'd tutorail and basic.ns

parent 880e9ecd
# This is a simple ns script. Comments start with #.
set ns [new Simulator]
source tb_compat.tcl
# define the 4 nodes in the topology.
set NodeA [$ns node]
......@@ -129,6 +129,12 @@ going to node C:
tb-set-ip-interface $NodeB $NodeC </code></pre>
Then make sure to add the NS run command at the end:
# Go!
$ns run </code></pre>
If you would like to try the above example, the completed <a
href="basic.ns">NS file</a> can be run as an experiment in your
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment