Zelaron Gaming Forum

Zelaron Gaming Forum (http://zelaron.com/forum/index.php)
-   Tech Help (http://zelaron.com/forum/forumdisplay.php?f=329)
-   -   BeeTorrent Announcement (http://zelaron.com/forum/showthread.php?t=37898)

Mantralord 2005-11-07 09:17 PM

new code

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.

Randuin 2005-11-07 10:28 PM

Someone make a ebuild for it for Gentoo, the only distribution worthy of usage.

Mantralord 2005-11-07 10:46 PM

jeez you dont neven need an ebuild, it just takes a single line to compile it.

Randuin 2005-11-07 10:54 PM

but emerge beetorrent would be way easier... that and I really have no use for it atm... lol!

Mantralord 2005-11-11 04:33 AM

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)

expect some shit over the weekend

Mantralord 2005-11-13 02:53 AM

new code

Right now i'm working on the stuff that loads the torrent, after that comes the network stuff, so exciting things are coming soon.

Mantralord 2005-11-15 01:23 PM

new shit, code can now list all the announce servers in a torrent...

the stuff that loads a torrent is almost done.

Mantralord 2005-11-19 03:32 PM

News...

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.

WetWired 2005-11-20 11:54 AM

In my experience, cross-platform interfaces suck, unless you're using OpenGL and making your own from scratch.

Mantralord 2005-11-22 02:00 PM

BTKLib code uploaded. In main.c is an example packet echo server using the BTKSocket interface.

Mantralord 2005-11-30 07:42 AM

New BTKLib uploaded, same packet echo server, but now with hot cross-platform action!

gcc -o btktest -lpthread main.cpp

makes a packet echo server on port 12345 on linux.

Mantralord 2005-12-11 06:26 PM

I've been really busy trying to build the user interface part...Windows' menu api is horrible.

`Insolence` 2005-12-12 03:02 AM

Quote:

Originally Posted by Mantralord
News...

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 couldn't help but laugh, keep it up.

platnum 2005-12-13 05:23 PM

This shit is awsome. I actually uderstand some of the code too, yay computer science classes.

Mantralord 2005-12-23 07:27 AM

okay guys its been a while

new code, rewrote the code of the announce_server list

Randuin 2006-01-13 03:12 PM

Need an update soon k go


All times are GMT -6. The time now is 05:04 AM.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.