The ConnectionStats struct in the Sandbox.Network
namespace provides detailed statistics about a network connection. It includes information about the current ping, data transfer rates, and connection quality.
The ConnectionStats struct in the Sandbox.Network
namespace provides detailed statistics about a network connection. It includes information about the current ping, data transfer rates, and connection quality.
Member Name | Summary |
---|---|
Ping | Current ping for this connection. |
OutPacketsPerSecond | How many packets per second we're sending to this connection. |
OutBytesPerSecond | How many bytes per second we're sending to this connection. |
InPacketsPerSecond | How many packets per second we're receiving from this connection. |
InBytesPerSecond | How many bytes per second we're receiving from this connection. |
SendRateBytesPerSecond | Estimate rate that we believe we can send data to this connection. |
ConnectionQuality | From 0 to 1 how good is our connection to this? |