Hi all, I'm trying to simulate a MANET in order to test an efficient flooding technique (broadcast). I took the code in this article, without using the routing part, because I don't need. I want only to flood the network with control information. I wrote a little simulation to test the algorithm. Two nodes flooding packets. The problem is I get a segmentation fault and I don't know why. I attach the simulation file and the algorithm of the article changed.
Thank you a lot Best Regards Maurizio