Returns information about current network connection performance


See also Client control and information functions, Debugging and Profiling functions.

Signature:

bandwidthIn, bandwidthOut, latencyHome, latencyWorld = GetNetStats()

Returns:

  • bandwidthIn - Current incomming bandwidth (download) usage, measured in KB/s (number)
  • bandwidthOut - Current outgoing bandwidth (upload) usage, measured in KB/s (number)
  • latencyHome - Average roundtrip latency to the home realm server (only updated every 30 seconds) (number)
  • latencyWorld - Average roundtrip latency to the current world server (only updated every 30 seconds) (number)