Enfusion Script API
|
Public Member Functions | |
proto external float | GetRoundTripTimeInMs () |
Gets round-trip time (ping) of the connection. | |
proto external float | GetPacketLoss () |
Gets ratio of packets sent that did not reach the destination. | |
Public Member Functions inherited from Managed | |
proto external ref Managed | Clone () |
Return shallow copy of object, or null if it is not allowed (not public constructor) | |
proto external float RplConnectionStats.GetPacketLoss | ( | ) |
Gets ratio of packets sent that did not reach the destination.
Ratio is value ranging from 0 (no packets are getting lost) to 1 (all packets are getting lost).
proto external float RplConnectionStats.GetRoundTripTimeInMs | ( | ) |
Gets round-trip time (ping) of the connection.
Round-trip time says how much time it takes for a packet to travel over network from starting point to its destination and then back again to the starting point.