I'm new to NS2 and I have to implement selfish node detection scheme using acknowledgements in AODV protocol. For this purpose I have changed aodv.cc and written the code for promiscous mode as per i have viewed in mailing list. But I don't know how to make use of that mode. I'm attaching my aodv.cc file along with this n which I have made some changes. Can anyone help me regarding how can a node start to listen for other nodes. Thanking you in advance.