[ns] Implementing a new protocol in NS2
Hi all. I am a newbie in NS2. I need your help in guiding me as to how should I implement my own protocol in Wireless sensor networks in NS2. How should I proceed ? What is it that I need to know priori implementation of new protocol. I know the scripting in tcl by reading the document - http://www.isi.edu/nsnam/ns/tutorial/ but I am not clear with the C code it uses to implement the new protocol in NS2. Kindly guide me with the same asap. Thank You. Regards, The Learner... -- View this message in context: http://old.nabble.com/Implementing-a-new-protocol-in-NS2-tp27803359p27803359.html Sent from the ns-users mailing list archive at Nabble.com.
Re: [ns] Implementing a new protocol in NS2
Hi, I attached a file that I found a few weeks ago. See you Aurélien Le 6 mars 2010 à 14:52, The Learner a écrit : Hi all. I am a newbie in NS2. I need your help in guiding me as to how should I implement my own protocol in Wireless sensor networks in NS2. How should I proceed ? What is it that I need to know priori implementation of new protocol. I know the scripting in tcl by reading the document - http://www.isi.edu/nsnam/ns/tutorial/ but I am not clear with the C code it uses to implement the new protocol in NS2. Kindly guide me with the same asap. Thank You. Regards, The Learner... -- View this message in context: http://old.nabble.com/Implementing-a-new-protocol-in-NS2-tp27803359p27803359.html Sent from the ns-users mailing list archive at Nabble.com.
Re: [ns] Implementing a new protocol in NS2
Sorry I can't attach any files. http://masimum.dif.um.es/nsrt-howto/pdf/nsrt-howto.pdf Le 6 mars 2010 à 14:52, The Learner a écrit : Hi all. I am a newbie in NS2. I need your help in guiding me as to how should I implement my own protocol in Wireless sensor networks in NS2. How should I proceed ? What is it that I need to know priori implementation of new protocol. I know the scripting in tcl by reading the document - http://www.isi.edu/nsnam/ns/tutorial/ but I am not clear with the C code it uses to implement the new protocol in NS2. Kindly guide me with the same asap. Thank You. Regards, The Learner... -- View this message in context: http://old.nabble.com/Implementing-a-new-protocol-in-NS2-tp27803359p27803359.html Sent from the ns-users mailing list archive at Nabble.com.
Re: [ns] Implementing a new protocol in NS2
Hi, I don't mean to discourage you. But I think learning NS2 within its scope is easy. But when you want to go beyond that, you've got a lot of work to do. If you really want to know NS2, here is the step that I would suggest you should learn. 1. Learn how NS2 pass packets from one object to another. The simplest one is from a Node to a SimpleLink. 2. Learn how to bind C++ and OTcl. This is a hard one. It will be easier when you understand the first step. 3. Learn the module you are interested in. Really, it's quite hard if you don't have the basic in NS2, and want to jump start to do your own work. It's like a baby trying to jump before learning how to crawl. 4. Modify, include, and build. This would be the final thing that you need to learn. In fact, this step is quite easy you can actually learn it first. You just have to change a few thing in the make file. If you are interested. Here is a book from springer: T. Issaraiyakul and E. Hossain, Introduction to Network Simulator NS2, Springer 2009. http://www.amazon.com/gp/product/0387717595?ie=UTF8amp;tag=ns2ultteeiss-20amp;linkCode=as2amp;camp=1789amp;creative=9325amp;creativeASIN=0387717595 You may also find lecture notes and other resource at the following website: http://www.ece.ubc.ca/~teerawat/NS2.htm Best Regards, Teerawat Issariyakul http://www.ns2ultimate.com/ http://www.ece.ubc.ca/~teerawat http://www.t-issariyakul.blogspot.com On 3/6/2010, The Learner deeptisabnani.i...@pec.edu.in wrote: Hi all. I am a newbie in NS2. I need your help in guiding me as to how should I implement my own protocol in Wireless sensor networks in NS2. How should I proceed ? What is it that I need to know priori implementation of new protocol. I know the scripting in tcl by reading the document - http://www.isi.edu/nsnam/ns/tutorial/ but I am not clear with the C code it uses to implement the new protocol in NS2. Kindly guide me with the same asap. Thank You. Regards, The Learner... -- View this message in context: http://old.nabble.com/Implementing-a-new-protocol-in-NS2-tp27803359p27803359.html Sent from the ns-users mailing list archive at Nabble.com.
[ns] implementing a new protocol
Hi All, I'm getting confused while implementing a new protocol. I'm making changes in c++ code of AODV protocol, but don't know how the control flows, meaning by, there is no main() function in the c++ program. So, can anyone tell me how the complete opearation of a protocol is controlled. If it is through otcl then which file does the same. Please explain. Thanks in advance. Amita
[ns] implementing a new protocol
Hi All, I'm getting confused while implementing a new protocol. I'm making changes in c++ code of AODV protocol, but don't know how the control flows, meaning by, there is no main() function in the c++ program. So, can anyone tell me how the complete opearation of a protocol is controlled. If it is through otcl then which file does the same. Please explain. Thanks in advance. Amita