struct ConnectionStats

robot_2Generated
code_blocksInput

Description

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.

Members

Instance Properties

Member NameSummary
PingCurrent ping for this connection.
OutPacketsPerSecondHow many packets per second we're sending to this connection.
OutBytesPerSecondHow many bytes per second we're sending to this connection.
InPacketsPerSecondHow many packets per second we're receiving from this connection.
InBytesPerSecondHow many bytes per second we're receiving from this connection.
SendRateBytesPerSecondEstimate rate that we believe we can send data to this connection.
ConnectionQualityFrom 0 to 1 how good is our connection to this?