*hi all,
**
whenever i m running followin simple tcl file using ns-2.31 on Cygwin:-*
#Create a simulator object
set ns [new Simulator]
#Open the nam trace file
set nf [open out.nam w]
$ns namtrace-all
$nf
#Define a 'finish' procedure
proc finish {} {
global ns nf
$ns flush-trace
hi all,
whenever i m running followin simple tcl file:-
#Create a simulator object
set ns [new Simulator]
#Open the nam trace file
set nf [open out.nam w]
$ns namtrace-all
$nf
#Define a 'finish' procedure
proc finish {} {
global ns nf
$ns flush-trace
#Close the trace file