-metrics
Stage 0:
+-refactor session
+ -resize - HERE
+ -tests
-networking
*port option
*tcp
*udp
+ -work out how and when to send requests back to epoll
+ -struct with partially written buffer?
+ -struct with request parameters
+ -i.e. hash request
+ -infohash
+ -peer id
+ -etc.
-start
-register shutdown
-spawn threads?
-session?
-stop
-peer
+ *rate limit interface
-peer protocol
- -header
- -handshake
+ *header
+ *handshake
-piece selection
- -throttling algorithms
- -setup interface only
-trackers
-opts
-remove sample code