Page 1 of 1

Bittorrent

Posted: Wed Mar 05, 2014 6:09 pm
by Thalius
Hihi :)

i haven't been around here for a while now since i started my own company and barely get to use PB nowadays anymore. Which is a terrible shame. For longer time i wanted again to code some nice programs again but yeah.. where can you find time if the money-chain is biting you in the a...lalalala :mrgreen:

Aaaanyway i was wondering if somone experimented a bit with bittorrent protocol and PB. I am currently looking for a kind of lib or functions i could use with latest pb. I know theres a source to a russian client, which kind of is a bit of a pain in the nards to play with as i dont understand russian and the thing seems incomplete and has a few bugs related to UDP, sadly.

Most people start thinking about illegal stuff if its about Torrents but actually i had some kind of bright idea where you could use that kind of technology for something else completelly legal, tho for prototyping i would need some kind of working lib that can handle file/chunk transfers and connect to a tracker / share data etc. It does not have to be necessairly bittorrent ( i just tought to use that because i don't have the time to reinvent the wheel ).

Does anyone have a few snippets or a lib or wrapper laying around per chance?
In the realreal worst case i'll write it myself and share with you guys at least the p2p lib part but this will take as it looks currently about a year time ( measuring with my sparse spare-time ). *le sigh*

Cheers and Thanks :)

Thalius

Re: Bittorrent

Posted: Thu Mar 06, 2014 1:18 am
by JHPJHP
Have you seen this post: http://www.purebasic.fr/english/viewtop ... 14&t=50396
- a very impressive bit of coding by User_Russian

Re: Bittorrent

Posted: Thu Mar 06, 2014 1:51 am
by Shield
Thalius wrote:I know theres a source to a russian client, which kind of is a bit of a pain in the nards to play with as i dont understand russian and the thing seems incomplete and has a few bugs related to UDP, sadly.
So yes, he did see it. :wink:

Re: Bittorrent

Posted: Thu Mar 06, 2014 2:20 am
by idle
maybe try writing an import for libbt
http://libbt.sourceforge.net/

Re: Bittorrent

Posted: Thu Mar 06, 2014 8:54 am
by User_Russian
Thalius wrote:few bugs related to UDP, sadly.
Long been fixed.
Thalius wrote:i dont understand russian
I do not know much English.... But somehow communicate in this forum.
Maybe you should learn a little Russian language?

Re: Bittorrent

Posted: Thu Mar 06, 2014 3:49 pm
by Thalius
@idle:
Ooooh thank Fre..erm God your still around! :D This might be exactly what i am looking for, small, simple, leightweight.
"I shall experiment on the pavement of my own hacked source upon... erm.. yeah" *cough* :D
Meaning to say: Thaaanks :)

@User_Russian
Is the UDP-fixed Source somewhere to be had ? I had been experimenting with the bugged version a bit - well the core functions of it at least.
I do not know much English.... But somehow communicate in this forum.
Maybe you should learn a little Russian language?
:shock: :oops: :lol: Maybe i should .. your right. Then again, English isn't my native language aswell ... but we all "speak" Purebasic :mrgreen: :)
Anyway, i will experiment with both of your ressources to see with which i can get something stable, reliable running.

oh, and user_Russian: "спасибо" , there, i started :D

Cheers,
Thalius