I managed to get it making info_hash'es now, so to demo this you can compile the code (linux method shown):
gcc -o beetorrent -lpthread main.c
And run it with (linux method shown):
./beetorrent whatever.torrent
And it will calculate and spit out that torrent's info_hash. This is really boring by the way, but it shows that I'm actually working at a decent pace on this. The info_hash is important because it's part of the initial tracker request, and this means that serious shit like socket orchestration are coming soon...The More You Know (tm).
To do the same under Windows, you need visual studio to compile it. Then you just "beetorrent whatever.torrent" in a console or whatever.
sorry for the lack of updates the past few days...i've been busy coming up with a proper architecture for all the code that does the actual downloading and shit (which is very close to being started)
I'm thinking of creating a toolkit for the project in C++ to simplify all the crazy cross-platform shit I'll be doing, such as Gtk and Qt support. Keep in mind that a linux program that supports both Qt and Gtk is rare, so I'll be doing some leet shit here.
I think the toolkit will be called BeeToolkit, or BTK.
I'm thinking of creating a toolkit for the project in C++ to simplify all the crazy cross-platform shit I'll be doing, such as Gtk and Qt support. Keep in mind that a linux program that supports both Qt and Gtk is rare, so I'll be doing some leet shit here.
I think the toolkit will be called BeeToolkit, or BTK.