Introduction: The application is developed to demonstrate the distributed file/message sharing. Multicast socket is heavily used to distribute same message among the peers in group. Similarly, client server communication using TCP socket is used to share the resource directly via socket. The application uses the concept of both client server communication and multicast message broadcasting service. Each peer joining multicast group will have unique id and send the message to each member of the group. Each group member except the requesting peer will check if they hold the requested resource and share file via socket. The requesting peer will check the input stream in the TCP socket and download the resource if available. First section of this report will demonstrate the configuration setup. In second part, it will demonstrate the compilation of java code. In third section, it will present a short system walkthrough. Finally, the report with list down some of the limitations and enhancement suggestion on the application. Some of the input parameters are hardcoded for testing purpose.
rajuchapagain/Peer-to-Peer-File-Sharing
The application is developed to demonstrate the distributed file/message sharing. Multicast socket is heavily used to distribute same message among the peers in group. Similarly, client server communication using TCP socket is used to share the resource directly via socket. The application uses the concept of both client server communication and multicast message broadcasting service. Each peer joining multicast group will have unique id and send the message to each member of the group. Each group member except the requesting peer will check if they hold the requested resource and share file via socket. The requesting peer will check the input stream in the TCP socket and download the resource if available.
Java