Description: The system will include multiple clients (also named peers) and one central server. A peer can join the P2P file sharing system by connecting to the server and providing a list of files it wants to share. The server shall keep a list of all the files shared on the network and their locations (IP address and port). When a peer intends to download a file, it will initiate a direct connection to the relevant peers to download the file. A peer should be able to download a file simultaneously from many peers. Upon leaving the network, the peer must remove its files from the server' s file list.
To Search:
File list (Check if you may need any files):
fan_jingyao
...........\clientP1.c
...........\clientP2.c
...........\clientP3.c
...........\Lab1_report.pdf
...........\serverS.c