- ›
- Forums ›
- Get Help to do your B.E., and M.E., M.Tech., & M.S., Project in Ns2 ›
- How to implement flooding for wired nodes (IP_BROADCAST usag
I hope that, you need not implement your won version of flooding. Because, there is already there are tcl level examples for flooding under
ns-x.xxtclex directory.
There is also another flooding based routing agent available under
ns-x.xxdiffusion
Hi Charles,
Thank You for the response.
Yes, I had seen it.
But what I am trying is to create my own protocol. I am trying to implement DVMRP(Distance Vector Multicast Routing).
Ofcourse there is example tcl script in ~ns2.32/tcl/ex for multicasting.
But inorder to modify the packet and embed some info into it and to test it,
I think this script is not sufficient!
So I am trying create my own own packet and first test for broadcasting(RPF) and then try multicasting based on the info in the packet…
To do this I have to start writing in C++ and define the packet first right?
But I am not able send a packet to other node by using Connector::send() and not able to receive the packet using recv()!!
I have posted the C++ source code and the errors in the previous post..
Can you please tell how to send a packet to other node using these predefined methods? Am I doing anything wrong in the code or the front end tcl script???
Thank You
ssr
Discuss Through WhatsApp