Nixers project: Bittorrent library - Community & Forums Related Discussions
Users browsing this thread: 4 Guest(s)
|
|||
hello there!
I'm bringing back to life this old thread. Due to the lack of interest in the original project (and seeing the mess I created...), I decided to rewrite this project from scratch, by using another approach: http://git.z3bra.org/libeech/log.html It now uses poll() instead of select(), and make use of callbacks functions to receive messages. The bencoding part has also been fully reimplement to be heapless (so not a single malloc() call!) As I write this, the lib can connect to a peer, request pieces and write them to a cache file. To put it simply, I can download a file via BitTorrent! I'm now reaching some important steps in the implementation, regarding management of cache files, choosing to store things in memory or on the disk, and more importantly, how to communicate with multiple peers at once! I'm looking for help in networking programming in C, or any idea regarding torrent download/upload algorithms. Who's interested? |
|||