I am working on a peer-to-peer file transfer project that should be implemented either using NS2 or NS3.
It would be of great help if anyone could give some pointers or source codes using which I can work on.
Note: A simple P2P file transfer code would also be very helpful, in which the peer nodes maintain a database of nodes that contain the files.