1
0
mirror of https://github.com/veggiedefender/torrent-client.git synced 2025-11-06 09:29:16 +02:00
Commit Graph

10 Commits

Author SHA1 Message Date
Jesse
b1fc8c7fb8 Add p2p client 2019-12-26 17:04:32 -05:00
Jesse Li
f9a22a6d9f Add timeout mechanism 2019-12-24 13:26:09 -05:00
Jesse Li
415666a020 Implement handshake.New() 2019-12-24 11:05:22 -05:00
Jesse Li
c20965ebf5 Move handshake into its own package 2019-12-24 10:42:47 -05:00
Jesse Li
aa8ef0ed76 Close connection after handling error
Fixes segfault when connection refused
2019-12-24 10:19:43 -05:00
Jesse
cdfb02a591 Implement formatting requests and parsing pieces 2019-12-23 12:58:23 -05:00
Jesse
7999e23fe1 Super janky download first piece 2019-12-22 23:51:31 -05:00
Jesse
12fac89ce5 Remove PieceLength from Downloader struct 2019-12-22 22:37:27 -05:00
Jesse
519d64fa9a Stub out p2p interface 2019-12-22 22:25:57 -05:00
Jesse Li
2810320046 Receive handshake from peer! 2019-12-22 17:43:39 -05:00