PDA

View Full Version : A BEconding alternative


View Full Version : A BEconding alternative


Semnian
August 16th, 2004, 04:18 PM
Hi all... nice to be here (first time user).

Apart from being a p2p user I am also a developer (mainly .NET but fluent in Flash and Java too) and since I took a look upon the BitTorrent protocol I came up with an idea...

BEconding is nice, can't say it doesn't do the job but... (forgive me if I am mistaken), XML could do the job better... not to say more easy...

I started writing a small class that exports all the information (plus some more) that a BitTorrent client needs to find in a *.torrent file in a xml file (preview will be available at the end of the post).

So... what's my question?

I don't have the time to develop a BitTorrent client (and tracker) of my own and I was wandering if anyone out there is currently developing a new client for the network (or a tracker) and that would want to see if xml is a good alternative to the BEncode format...

I will be more than glad to provide any assistance needed in order to create a portable xml format for storing torrent information...

Please post your thoughts on the subject...

Sample xml torrent (single file):

<?xml version="1.0" encoding="utf-8"?>
<torrent>
<name>Collateral.txt</name>
<tracker>www.sometracker.org:8080</tracker>
<length>82126</length>
<pieceLength>524288</pieceLength>
<pieceCount>1</pieceCount>
<pieces>
<piece>uPE4uZfs9uLu3+ISwKvxeOeKxmo=</piece>
</pieces>
<releaser />
<releaserURL />
<comments />
</torrent>

fernandez
August 16th, 2004, 04:33 PM
Hi Semnian,

Have you tried talking to the Azureus developers?
Their client is written in Java and includes an embedded
tracker, too.

http://azureus.sourceforge.net/

Semnian
August 16th, 2004, 04:36 PM
Thanks for the tip fernandez... Will try that...