SysInfoType=LAN_CONNECTIVITY : Checks to see if your computer is connected to a LAN (Local Area Network).
SysInfoType=INTERNET_CONNECTIVITY : Checks to see if your computer is connected to the Internet.
The measure will be set to 1 on success, to -1 on failure.
This can be used to test and react to the state of network connectivity in your skins. Like the Windows notification area icon, it can react to having no network connection at all (LAN) or having no Internet (WAN) connection.
Whoopee! This will hopefully avoid the stutters and hangs when skins find themselves connected to a LAN but can't get a Ping value or response from Webparser.
Mordasius wrote:Whoopee! This will hopefully avoid the stutters and hangs when skins find themselves connected to a LAN but can't get a Ping value or response from Webparser.
My thanks to all involved.
Yeah, as in that sample skin, you can leave WebParser measures disabled unless the test for "internet" succeeds, and if it doesn't, perhaps react with some error meter.
poiru wrote:Note that this feature is supported only on Vista and later (for now, at least).
We have modified the behavior in the latest beta (r2218) so that on a Windows XP system, it will always assume success and return "1". That way skins you distribute won't just consistently misbehave on XP systems.