Recent changes Random page
GAMING
Gaming
 
StarCraft Wiki
Super Smash Wiki
Halopedia
Diablo Wiki
FFXIclopedia
Grand Theft Wiki
See more...

API GetNetStats

From WoWWiki

Jump to: navigation, search
Main Menu


Retrieve info about net statistics.

down, up, lag = GetNetStats();


Arguments
none

Returns
(- down)
down 
-
(- up)
up 
-
(Number lag)
lag 
The lag (in milliseconds) of your connection.

Example
local down, up, lag = GetNetStats();
message("Lag: "..lag.." milliseconds.");
Result

Message box appears with amount of lag in milliseconds.


Description
Retrieve information about your current net statistics.
Rate this article:
Share this article: