>
> Hi all,
>   I am working on a project using ns-2.28. In that i wanted to count the  
> no. of pkts received/dropped by a particular node in consideration  
> during the time when ns is running and not after the execution of the  
> tcl script.
>   Can someone help me?
>   Thanks in advance.
>
> Vijay  

You might want to look at the example in Marc Greis' tutorial, chapter  
VIII "Creating Output Files for Xgraph":
http://www.isi.edu/nsnam/ns/tutorial/index.html
The function "record" in the TCL part of that example might give you some  
ideas.

--Thomas

Reply via email to