WoW:API GetNetStats

From AddOn Studio
Revision as of 07:22, 4 March 2005 by WoWWiki>Paul2200
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
GetNetStats -Documentation by Myrrion (thanks Jooky)-

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.

Template:WoW API