gpoisoned/P2P_client_server
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Jiwan Rana [email protected] CS:4273 Programming Assignment 4 Compile: make Clean: make clean Run: ./server_PFS <port> ./client_PFS <clientName> <serverIP> <serverPort> ********************************************************** Maximum File Size that can be transferred = 30000 bytes ~30KB ********************************************************** What works? ********************************************************** # clients are able to connect to server via TCP # clients can connect/disconnect from peers # clients can execute: ls -> displays recent master file list get > get <fileName> command gets the file from the peer. exit -> exits client cleanly and notifies the server so that it can update its master file list. # As clients are added/removed server updates its master file list and sends it to all other connected clients. # If client uses duplicate name, server denies the request and so client closes. Server also performs the necessary cleanup.
About
Peer to peer file sharing client/server code
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published