Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-12-01 | Make peer_id a constant | Martin Ashby | |
2023-11-12 | Move tracker protocol into it's own file | Martin Ashby | |
Change piece_length -> u32, protocol constrains that anyway annnnd, successfully download a file (albeit from one torrent only with no checking of a ton of stuff) | |||
2023-11-12 | Handshake a peer | Martin Ashby | |
2023-11-11 | Make request to tracker, get and parse response to find peers list | Martin Ashby | |
2023-11-11 | Don't hex the hash | Martin Ashby | |
2023-11-11 | Include ownership info on BValue. | Martin Ashby | |
It's a bit cumbersome, but it caters for the two situations: a. parsing from a stream where strings must be copied into the structure and owned, and b. constructing from application code where strings must _not_ be freed. Either way, the base structures (array list, hash map) are always owned and must be freed. Add method and test for info hash | |||
2023-11-11 | Extend meta info file parsing | Martin Ashby | |
2023-11-11 | Add basic meta info file parsing | Martin Ashby | |
2023-11-09 | Add bencoding as well as bdecoding | Martin Ashby | |
2023-11-09 | Add bencoding decoding library | Martin Ashby | |