[BitTorrent] Re: bencoding 0:

Olaf van der Spek OvdSpek at LIACS.NL
Sun Nov 21 05:26:46 EST 2004


> --- In BitTorrent at yahoogroups.com, "Olaf van der Spek" <OvdSpek at L...>
> wrote:
>> > Excellent :)
>> >
>> > So that means the minimum size of a string is 2 characters.
>> >
>> > I do wonder a bit about the "character set" being used...
>> >
>> > It's probably just ansi... and unicode is compatible with that...
> lol.
>>
>> ANSI or ASCII?
>
> Isn't ASCII the same as the lower 128 ANSI characters ?

No, AFAIK.
>
>>
>> > I do wonder what about if chinese people want to make chinese
> file
>> > names ? :)
>> >
>> > Maybe that's a bad idea in general lol :) Let english rule the
> world
>> > hehe...
>> >
>> > Anyway...
>> >
>> > I guess the minimum size of an integer is 3
>>
>> Why is the min size so important to you?
>
> Well just so parsing routines can exit when a string is less than the
> minimum :)
>
> Anyway I'll use this post to bring up a possible issue for the future.
>
> My bencoding parser is now pretty robust... though I still have to
> implement dictionaries.
>
> I think most if not all communication between trackers and clients,
> and clients <-> clients is bencoded right ?

No. There's a UDP tracker protocol that doesn't use bencoding.
And the client protocol doesn't use any bencoding. Maybe you should actually 
read the specs. 



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/dkFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/BitTorrent/

<*> To unsubscribe from this group, send an email to:
    BitTorrent-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 





More information about the BitTorrent mailing list