Re: Re: bencoding 0:
"Olaf van der Spek" <[email protected]>
| Newsgroups | gmane.network.bit-torrent.general |
|---|---|
| Message-ID | <001901c4cfb4$9aa6c4a0$0100a8c0@hwima> |
> --- In [email protected], "Olaf van der Spek" <OvdSpek@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: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/