ISteamNetworkingUtils.CheckPingDataUpToDate

Check if the ping data of sufficient recency is available, and if it's too old, start refreshing it.

Please only call this function when you *really* do need to force an immediate refresh of the data. (For example, in response to a specific user input to refresh this information.) Don't call it "just in case", before every connection, etc. That will cause extra traffic to be sent for no benefit. The library will automatically refresh the information as needed.

Returns true if sufficiently recent data is already available.

Returns false if sufficiently recent data is not available. In this case, ping measurement is initiated, if it is not already active. (You cannot restart a measurement already in progress.)

You can use GetRelayNetworkStatus or listen for SteamRelayNetworkStatus_t to know when ping measurement completes.

class ISteamNetworkingUtils
bool
CheckPingDataUpToDate

Meta