Hello,
I am trying to receive information from a bittorrent metafile. It uses the following format:
Example:Code:<string length encoded in base ten ASCII>:<string data>
This should return the string Hello.Code:5:Hello
Begin of a bittorrent metafile:
After a few attempts, using strchr to find ':', I got stuck. Are there any other ways of extracting the right values from those files?Code:d8:announce39:http://www.point-blank.cc:6969/announce13:announce-list
OS: Windows XP