Hi all, I had posted one query in ns2 mailing list last day. But it was not published in the list. I don't know why. I am posting it again here. I am doing my final year M.Tech in CSE. As a part of my project, I have to maintain the list of all neighbors for all nodes in the network. I tried by printing the node in the recvHello() of AODV protocol. But it just prints the current node and its neighbor id. What exactly I want is each node should maintain all its neighbors list with it and I have to get it printed. I am attaching the code portion where I have made change.Could you please check if it is possible to declare a two dimensional array as I have given here? I have tried my level best. Can someone help me out with this? It was really urgent for my project.
Thanks in advance