Hi
Could anybody please tell me a simple(ABC) example code for sending a new
packet to the neighbor nodes. The packet may contain a certain info. which
we want to send to the neighbor nodes. Please help.
--
Thanks and Regards
Sudhanshu Pant
M. Tech. NITH
Hamirpur, H.P.
Hi
Could anybody please tell me a simple(ABC) example code for sending a new
packet to the neighbor nodes. The packet may contain a certain info. which
we want to send to the neighbor nodes. Please help.
--
Thanks and Regards
Sudhanshu Pant
M. Tech. NITH
Hamirpur, H.P.
Hi,
1. I am implementing a Routing algorithm in NS2 for
forwarding consecutive packets via different next hops for particular
destination.
2.Now i finished transferring node information from Tcl to
C++, formulated a routing table with multiple nexthop for the
Hello all,
Does anyone has an idea how to send a packet in multi-hops? This, I guess
will include packet forwarding at the intermediate node.
Please let me know it.
Thanks a lot.
--
Warm regards,
Gaurav Joshi
+1-352-214-2527
Dear Mubashir,
thank you so much for your help. But do we have to set ttl in tcl script or
in source code. also how do i change the dst and src address dynamically.
Can you please give me a little more insight about it, or fwd me a link from
where I can follow in detail.
thanks again,
Regards,
Hi Gaurav Joshi
You need to work on the c++ files of ns2. Let me give you an example of aodv
protocol (its just an example to make you understand and you need to create
your own packet type in order to proceed). Suppose that you are in the
sendRequest() function of AODV. First they are filling
I am trying to forward a packet with OAR protocol running outside the subnet
where the protocol is running. The OAR protocol has the dsdv.cc file modified
and under the DSDV_Agent::forwardPacket (Packet * p)
the modification done is
// Bypass Routing
if (!dsdv_active_){