you can see wireless2.tcl to found nam running codes. and add those codes to 
your script.

  for define it:
 set namtrace    [open wireless2-out.nam w]
 $ns_ namtrace-all-wireless $namtrace $val(x) $val(y)       (  x & y defined 
above)
   
  and in "proc stop{}" after "close $namtrace" add this:
 exec nam wireless2-out.nam &
 exit 0
( "wireless2-out" is name of  nam file that defined)


       
---------------------------------
Catch up on fall's hot new shows on Yahoo! TV.  Watch previews, get listings, 
and more!

Reply via email to