DSCC PBL
DSCC PBL
Submitted in partial fulfilment of the requirements for the award of the degree
of
BACHELOR OF TECHNOLOGY
in
by
Anukrit Goyal……………..(06711502721)
Ayush Goel………………..(08511502721)
Kanishk Kumar…………....(09411502721)
Guided by
6. Technology Stack
On each device you want to act as a peer, place the peer.py script and shared_files/
folder.
Update the HOST variable in peer.py with the device’s IP address and specify a unique
port for each device.
Place any files you want to share in each device’s shared_files directory.
Step 4: Request a File
Replace <filename> with the file you want, <peer_ip> with the IP of the peer that has the
file, and <peer_port> with the listening port of that peer.
9. Example Usage
Assume:
Start Peer 2: