Branch: Tag:

2003-12-13

2003-12-13 13:49:13 by Mirar (Pontus Hagland) <pike@sort.mirar.org>

there, a port too... all done for a peer, a short downloader example to come

Rev: lib/modules/Protocols.pmod/Bittorrent.pmod/Bencoding.pmod:1.2
Rev: lib/modules/Protocols.pmod/Bittorrent.pmod/Peer.pike:1.7
Rev: lib/modules/Protocols.pmod/Bittorrent.pmod/Torrent.pike:1.7

1: + #pike __REAL_VERSION__ +    //! decodes a bittorrent bencoded data chunk   //! returns ({data,remaining string})   //! will return ({0,input string}) if no data could be decoded