-infohash
-peer id
-etc.
- -start
+ *start
*register shutdown
*spawn threads?
-request loops
- -epoll fds
+ *epoll fds
-stop
+ -figure out how to do this properly
-loop
- -tcp vs. udp
- -both on same loop?
- -field 1 request on each then start loop over?
- -examine udp usage in bittorrent protocol
+ -handshake handling?
+ -pointers to peer functions
-peer
*rate limit interface
-peer protocol
-loads into priority queue
Later:
+-utp
-trackers
-opts
-remove sample code