Bittorrent

Everything else that doesn't fall into one of the other PB categories.
Thalius
Enthusiast
Enthusiast
Posts: 711
Joined: Thu Jul 17, 2003 4:15 pm
Contact:

Bittorrent

Post 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
"In 3D there is never enough Time to do Things right,
but there's always enough Time to make them *look* right."
"psssst! i steal signatures... don't tell anyone! ;)"
User avatar
JHPJHP
Addict
Addict
Posts: 2258
Joined: Sat Oct 09, 2010 3:47 am

Re: Bittorrent

Post 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

If you're not investing in yourself, you're falling behind.

My PureBasic StuffFREE STUFF, Scripts & Programs.
My PureBasic Forum ➤ Questions, Requests & Comments.
User avatar
Shield
Addict
Addict
Posts: 1021
Joined: Fri Jan 21, 2011 8:25 am
Location: 'stralia!
Contact:

Re: Bittorrent

Post 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:
Image
Blog: Why Does It Suck? (http://whydoesitsuck.com/)
"You can disagree with me as much as you want, but during this talk, by definition, anybody who disagrees is stupid and ugly."
- Linus Torvalds
User avatar
idle
Always Here
Always Here
Posts: 5915
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: Bittorrent

Post by idle »

maybe try writing an import for libbt
http://libbt.sourceforge.net/
Windows 11, Manjaro, Raspberry Pi OS
Image
User_Russian
Addict
Addict
Posts: 1549
Joined: Wed Nov 12, 2008 5:01 pm
Location: Russia

Re: Bittorrent

Post 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?
Thalius
Enthusiast
Enthusiast
Posts: 711
Joined: Thu Jul 17, 2003 4:15 pm
Contact:

Re: Bittorrent

Post 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
"In 3D there is never enough Time to do Things right,
but there's always enough Time to make them *look* right."
"psssst! i steal signatures... don't tell anyone! ;)"
Post Reply