0% found this document useful (0 votes)
57 views

Project Title: Napster-Style Peer-To-Peer File Sharing System Output File

This document outlines the steps to create a Napster-style peer-to-peer file sharing system. It describes running a CentralIndexServer on one machine that peers can register files with and search for files. It then shows two peers registering and searching for a file, and a third peer searching for and downloading that file from the peer that registered it. Screenshots demonstrate each step in the process.

Uploaded by

putin
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
57 views

Project Title: Napster-Style Peer-To-Peer File Sharing System Output File

This document outlines the steps to create a Napster-style peer-to-peer file sharing system. It describes running a CentralIndexServer on one machine that peers can register files with and search for files. It then shows two peers registering and searching for a file, and a third peer searching for and downloading that file from the peer that registered it. Screenshots demonstrate each step in the process.

Uploaded by

putin
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Peer-To-Peer File Sharing System

PROJECT TITLE :
Napster-style Peer-To-Peer File Sharing System
Output File

Name : Karthik Krishnamurthy


CWID : A20344464
Subj : CS-550 Advanced Operating Systems
Date : 09/21/2015
Peer-To-Peer File Sharing System

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

On Machine-B, Peer_1 is Run.


Peer_1 is allowed to Register its files with the CentralIndxServer, Search
the CIS for required files or Download from other peers.
Screenshot when Peer_1 is Run:
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

Screenshot: Download Request from Peer_3 to Peer_1 for downloading the


File “testfile.txt”

Screenshot: Peer_3 Downloads the File “testfile.txt” from Peer_1

===================================================================

You might also like