Peer-to-peer system for efficient file sharing task supporting multiple peers to share one file simultaneously across heterogeneous devices and architectures using computer networks concepts and socket programming
- Module 1: One peer to another peer
- Module 2: Multiple peers to one peer
- Module 3: Corner Cases and flexible features
- Tracker-peer architecture
$ cd 1p2p
$ py IP.py
$ py tracker.py
# py peer.py
- Concurrent sharing of equivalent portion of file using threading
$ cd p2p_multiple
$ py IP.py
$ py tracker.py
$ run multiple peers on different devices, or as different programs
# py peer.py
- Flexibility during the change of wifi
- Working under heterogeneous devices
- What happens to the peer information at tracker when peer disconnects?
- What happens if one peer gets disconnected while sharing a file with another peer?
- What happens if one of the peers goes down while file sharing from multiple peers to one peer?