Hi Domenico, Basically you need to uncomment some lines, in order to enable Hello Packets. Then and only then program pointer will come to recvHello() and sendHello() functions.
If you want to broadcast Hello messages then, you should do the following: Comment the following two lines in aodv.cc 00092 #ifndef AODV_LINK_LAYER_DETECTION 00095 #endif // LINK LAYER DETECTION and then do make make clean sudo make install and you will see *hello* packets in your trace file. Regards Mubashir Husain Rehmani www-npa.lip6.fr/~rehmani <http://www-npa.lip6.fr/%7Erehmani> 2009/2/25 Domenico Critelli <dome.crite...@gmail.com> > > Ciao, > > 1 - I add a printf in sendHello function and one in recvHello function from > aodv.cc and recompile ns2 successfully. but when i run ns2 i do not get any > messagges grom my added printfs?? > On the contrary if i add a printf in sendReq function or recvreq or > sendReply or recvReply it works fine. > I'm using ns2.29 version > > > Thanks in advance > > -- > Domenico Critelli > dome.crite...@gmail.com > -- Mubashir Husain Rehmani