Valhalla Legends Archive

General => General Discussion => Topic started by: iago on May 02, 2003, 01:28 AM

Title: bncache.dat
Post by: iago on May 02, 2003, 01:28 AM
I'm just wondering if anybody knows the function of bnetcache.dat.. I see where it gets created, and I noticed that it stores the ToS, which is a long annoying download otherwise, but what's the point, and how does it know what to remember and what to forget?  Obviously it can't remember the SID_AUTH_CHECK packets and stuff like that, so is it preset, or what?

Just curious if anybody knows this, since it's bugging me :-)

-iago
Title: Re:bncache.dat
Post by: Yoni on May 02, 2003, 06:02 AM
Several Battle.net messages have a FILEDATE structure specifying the last modify date of the file being "discussed".
This date is stored in bncache.dat and compared whenever a file is negotiated to check if the cached version is the newest.