An open API service indexing awesome lists of open source software.

https://github.com/indianwhocodes/cn2017

Peer to Peer File Sharing (2017)- Implementation of the popular Bit Torrent in Java using network libraries.
https://github.com/indianwhocodes/cn2017

bit-torrent java java-8 network network-analysis networking peer protocol tcp tcp-client-server tcp-socket

Last synced: about 2 months ago
JSON representation

Peer to Peer File Sharing (2017)- Implementation of the popular Bit Torrent in Java using network libraries.

Awesome Lists containing this project

README

        

# Overview
Peer to Peer File Sharing (2017)- Implementation of the popular Bit Torrent in Java using network libraries.

### Introduction

BitTorrent is a popular P2P protocol for file distribution. Among its interesting features,
we were asked to implement the choking-unchoking mechanism which is one of the most
important features of BitTorrent.

### Specifications

Protocols included were:-Handshake message, Actual messages, Handshake and bitfield, choke and unchoke, interested and uninterested, etc.
Implementation specifics included constraints in number of preferred neighbors, unchoking interval as well as file handling, logger, TCP connection, remote processes etc.