Respected Sir,
Thanks a lot for the AODV tutorial with example which you sent before couple of weeks, it has helped me a lot while designing code. In AODV folder, we find related .cc, .h files. These files contain the functions like recv, command, rating related functions etc. I am confused about... (i) Are these functions automatically called when the corresponding events occur? Their result can be verified by checking the trace file? If possible kindly guide me with example. (ii) Is it possible to override those functions or to define our own function for particular event? If so, then may I kindly request you to give me guidance if possible with an example. With regards, Dhara Buch M.Tech Research Scholar SVNIT, Surat ________________________________ From: Dhara Buch <[email protected]> To: [email protected] Cc: Mubashir Rehmani <[email protected]> Sent: Wed, August 18, 2010 9:00:32 PM Subject: Re:[ns] Problem in designing packet format and monitoring its arrival event Hello, Thanks a lot for the reply. The code seems to be useful to me. Actually, I am just the beginner for ns2. The problem I find is, I dont get how the classes and header files provided by tcl, can be used in the ns2 script commands. More specifically, in the code provided to me, header file aodv.h is used. It defines some structures. Now how to use them from ns2? I would be obliged if some simple examples I can have that shows this kind of usage. tkns & rgds dhara
