[ns] Changing behaviour of node.

Manoj_Kumar micman.manoj at hotmail.com
Mon Jan 31 05:33:58 PST 2011



swat_nag wrote:
> 
> Im kind of new to ns2, i need help in changing the default working of the
> node. I dont know how to apply the changes to the code.
> 
> COnsider 3 nodes: A,B and C. C is like a router. A sends packet to B
> through C and B sends to A via C. In normal operation, when C gets the
> packets simultaneously, it sends one by one to A and after that to B (not
> at a time). But i want C to send both the packets simultaneously to A and
> B. Like this in the receiver end, A will XOR the received packets with its
> own packet so that it receives its required packet. B also does the same. 
> 
> Can u please tell me how to implement this?...and wat changes are to be
> made and where?... 
> I would really appreciate your help!
> 
In  short, you would want to implement the concept of Network Coding?

-----
---
ManojKumar.A
---
Blog: http://getch.wordpress,com
Mailing list guidelines: http://goo.gl/xC874
-- 
View this message in context: http://old.nabble.com/Changing-behaviour-of-node.-tp30800274p30806623.html
Sent from the ns-users mailing list archive at Nabble.com.



More information about the Ns-users mailing list