Introduction - If you have any usage issues, please Google them yourself
set val(ifqlen) 50
set val(nn) 3
set val(rp) DSDV
set val(x) 500
set val(y) 400
set val(stop) 150
set ns [new Simulator]
set tracefd [open simple.tr w]
set windowVsTime2 [open win.tr w]
set namtrace [open simwrls.nam w]
$ns trace-all $tracefd
$ns namtrace-all-wireless $namtrace $val(x) $val(y)