WoWWiki

This wiki contains inaccurate and out-of-date information. Please head over to https://wowpedia.fandom.com for more accurate and up-to-date game information.

READ MORE

WoWWiki
Register
Advertisement

WoW API < GetNetStats

Retrieve info about net statistics.

down, up, lag = GetNetStats();


Returns
down
Current incomming bandwidth (download) usage, measured in KB/s.
up
Current outgoing bandwidth (upload) usage, measured in KB/s.
lag
Floating Point Number - Average roundtrip latency to the server (only updated every 30 seconds).

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.
Advertisement