mapa17 / Eruliaf

A BitTorrent like overlay peer simulator
GNU General Public License v3.0
1 stars 0 forks source link

Create simple peer structure #5

Closed mapa17 closed 12 years ago

mapa17 commented 12 years ago

Create a simple peer structure that enables the download data from available peers.

Prepare the peer to have three sets

active_peers : peers from which we download or to which we upload data idle_peers : peers we have no active connection at the moment blocked_peers : peers which we banned for some reason and want try to cooperate with

create a OU and TFT very simple peer selection function (random?)

add a simple connection class