Project Title: Napster-Style Peer-To-Peer File Sharing System Output File
Project Title: Napster-Style Peer-To-Peer File Sharing System Output File
PROJECT TITLE :
Napster-style Peer-To-Peer File Sharing System
Output File
Step-by-Step Execution:
On Machine-A, CentralIndxServer is Run.
The CIS starts listening for incoming connections from the Peers.
Screenshot when CentralIndxServer is Running:
Peer-To-Peer File Sharing System
Registration Process:
Peer_1:
Peer_1 is Registering the File “testfile.txt” with the CentralIndxServer.
Screenshot when Peer_1 Registers the file on the CentralIndxServer:
Peer-To-Peer File Sharing System
CentralIndxServer:
Register Request received on the CentralIndxServer from Peer_1 and the
CIS registers the filename and the ID in the Index Catalogue.
Screenshot for Register Request from Peer_1 on the IndexServer:
Peer-To-Peer File Sharing System
Search Process:
Peer_2:
On Machine-C, Peer_2 is Run.
Peer_2 is allowed to Register its files with the CentralIndxServer, Search
the CIS for required files or Download from other peers.
Peer_2 issues a Search Request for the file “testfile.txt” which was
registered by Peer_1
The Search result returned will be the Peer ID of the peer and the IP
Address of the Peer which contains the file.
Screenshot for the Search Result returned from the CentralIndxServer for
the file “testfile.txt”:
Peer-To-Peer File Sharing System
CentralIndxServer:
Search Request received on the CentralIndxServer from Peer_2 and the CIS
Searches the Filename in the Index Catalogue.
Screenshot for Search Request from Peer_2 on the IndexServer:
Peer-To-Peer File Sharing System
Download Process:
Peer_3:
On Machine-D, Peer_3 is Run.
Peer_3 is allowed to Register its files with the CentralIndxServer, Search
the CIS for required files or Download from other peers.
Peer_3 issues a Search Request for the file “testfile.txt” which was
registered by Peer_1
The Search result returned will be the Peer ID of the peer and the IP
Address of the Peer which contains the file.
Then It issues a Download Request for the file “testfile.txt” which was
registered by Peer_1
Screenshot for the Search Result returned from the CentralIndxServer for
the file
“testfile.txt”
:
Peer-To-Peer File Sharing System
===================================================================