Hi, If you would like to add a new module into NS2, please read http://www.ns2ultimate.com/post/454001969/including-new-modules-into-ns-2
You also need to learn about how C++ and OTcl are bound. Please read the series of blog posts indicated below: http://www.ns2ultimate.com/post/648508440/c-and-otcl-linkage-why-two-languages Best Wishes, Teerawat Issariyakul http://www.ns2ultimate.com/ http://www.facebook.com/pages/Teerawat-Issariyakul/358240861417 http://twitter.com/T_Bear http://www.t-issariyakul.blogspot.com http://www.ece.ubc.ca/~teerawat On Oct 26, 2011, at 12:10 PM, aref hp wrote: > > Dear all, > I'm going to change DSDV routing protocol source code in ns-2. After > changing the source code I have done these steps for ns-2 in the directory > of ns-2. > 1- sudo make clean > 2-sudo ./configure > 3-sudo make > 4-sudo ./validate > > But after running the scenario which I have run with original DSDV, I > get exactly same result as before. ns-2 with this protocol > works exactly like before. > Please help me to how should I run the new source code of protocol > > Thanks in advanced > Aref >