Using UDP and TCP send file chunk over socket
Goal: The goal is to apply the concepts learned in class, through programming and hands-on
practice. At the end of this project, you will have a better understanding of how a networked
application operates and what are the technologies behind it.
Task: Design and implement a peer-to-peer file sharing application. The shared design document specifies the necessary protocols that you need to implement. Please follow the design
doc closely (in fact, verbatim) in your implementation.
Requirements: The application should;
- Have 4 processes: Chunk Announcer, Chunk Discovery, Chunk Downloader, Chunk Uploader. These processes should work as outlined in their respective specifications.
- Successfully detect the available content in the peers in the Local Area Network.
- Successfully download a content from other peers in the Local Area Network.
- Display an error dialog if a download is in error.
- Output a download/upload log, containing timestamps, names and chunk index of all downloaded files.
Click for Function Specification