how to broadcast tcp data packets in wireless network in ns2
I am working on ns 2.35 simulator. I have tried many ways to broadcast packets. But whenever I tried it, I may either get an error or maybe transmitting beacons but not data packets. I am working in the backend of ns2 that is C++ and have changed much code in the mac802_11 file(mainly) and other files like tcp and tcp-sink. Is there any simple way to broadcast the data packets just like in wired connection or do we need to install something like maodv which I have tried and failed or do we need to change some code snippets in the backend. Any kind of help would be appreciated.
|