TopDl: two.tcl

File two.tcl, 164 bytes (added by faber, 12 years ago)

ns2 example for fedd_ns2topdl.py

Line 
1set ns [new Simulator]
2source tb_compat.tcl
3
4
5set a [$ns node]
6set b [$ns node]
7
8set link0 [ $ns duplex-link $a $b 100Mb 0ms DropTail]
9
10$ns rtproto Static
11$ns run