sasha_gu Posted April 29, 2009 Report Share Posted April 29, 2009 I write the appendix. Is it possible to get the list of Trackers and Peers through API?Through winapi it appeared not easily Link to comment Share on other sites More sharing options...
jewelisheaven Posted April 29, 2009 Report Share Posted April 29, 2009 Not yet. The WebUI is.. getting more functionality from the frontend, as the developers have time and less things on their TODO list. Link to comment Share on other sites More sharing options...
sasha_gu Posted April 29, 2009 Author Report Share Posted April 29, 2009 even say what module utorrent keeps all information in? Link to comment Share on other sites More sharing options...
jewelisheaven Posted April 29, 2009 Report Share Posted April 29, 2009 .. Peer data is all stored in RAM right now. On save / close it isn't written out to disk. You can use something like the BFE in my signature to get at resume.dat tracker info though. Link to comment Share on other sites More sharing options...
sasha_gu Posted April 29, 2009 Author Report Share Posted April 29, 2009 And is it possible to know as it is physically kept? that it is easier to find in memory of process.possibly in some dll?Labels on the "general" tab does not have the window? Or what functions do they appear? I would intercept them Link to comment Share on other sites More sharing options...
Ultima Posted May 1, 2009 Report Share Posted May 1, 2009 At best, you'll find the peer cache in the "peers6" key for each torrent in resume.dat. IINM, peers are stored in IPv6 format (18 bytes each, I think? Can't remember clearly). Monitoring resume.dat wouldn't be a good idea though, especially considering the frequency with which µTorrent writes to it. Link to comment Share on other sites More sharing options...
jewelisheaven Posted May 1, 2009 Report Share Posted May 1, 2009 ... uT bloats resume.dat on-close now!! Is stale peer data actually useful?I don't see what problem READING resume.dat would have, as long as it's not exclusively locked, even the backup can be used. Every 30 seconds isn't that often... compared to the other polling mechanisms in the client Link to comment Share on other sites More sharing options...
Ultima Posted May 1, 2009 Report Share Posted May 1, 2009 If it takes forever for the application to decode resume.dat, it can be a problem. And even then, the application has little idea when µTorrent will next update the file, so it's not like it can attempt to avoid µTorrent's writes while it's reading. Well, unless it's checking timestamps, predicting decoding times, and what have you (yuck). Considering the fact that the backup file is written to every time resume.dat is written to, I'd say that reading the backup file makes not one bit of difference with regards to update "oftenness" either. Link to comment Share on other sites More sharing options...
jewelisheaven Posted May 1, 2009 Report Share Posted May 1, 2009 ... point taken. So it makes less sense to me to add even more stuff in there, but I missed that last round of comments, so I'll concentrate on looking forward to more data being pushed out the WebUI backend and not worry about the contents of resume.dat.So the answer sasha_gu, if they're going that route is to copy either .DAT file, decode it and don't mess with it. All one-way operations >I' not sure you'll get any answer when trying to ask how they display the data... Is there a function which just says "populate LISTVIEW"? The controls are custom listviews, but still listviews. Link to comment Share on other sites More sharing options...
sasha_gu Posted May 8, 2009 Author Report Share Posted May 8, 2009 "ExtTextOutW" from "gdi32.dll" Help! what charset is used by this function?......I almost decided a problem, can get information from General Tab, Peers, Trackers and all fields in list of torrents in my version of WebUI .. And adding File with a full dialog using WinAPI.I hope these possibilities will be realized in the near future Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.