- Home Page of ProjectGuideline.com ›
- Forums ›
- Get Help to do your B.E., and M.E., M.Tech., & M.S., Project in Ns2 ›
- need to know tcl script programming
hi
this is manish jain doing final year project in detection and isolation of routing misbehavior in manet and for that i have installed network simulator 2.31 and installation is successful. now i need to learn tcl script programming and their compilation process in detail ,along with ns2 stuffs which will guide me for my project.
thanking you
If you mean ns2 related tcl commands, then start with the Famous ns2 Tutorial by Marc Greis
ns-allinone-2.28ns-2.28ns-tutorial
You may find some examples under ns2 directory.
ns-allinone-2.28ns-2.28ns-tutorialexamples
ns-allinone-2.28ns-2.28tclex
You can learn tcl from tutorials available in internet.
Since tcl is a interpreted programming language, actually there is no compilation step. Just you can directly run your tcl script (here the ns2 simulation script) by using the ns2 interpreter as follows.
$ns program.tcl
thanks alot sir .i need to know how to use xgraph in ns2 and how do i set it in my directory?