This version of Unity is unsupported.
Method group is Obsolete

NetworkTransport.GetCurrentRTT

Obsolete public static int GetCurrentRTT(int hostId, int connectionId, out byte error);

Parameters

errorError (can be cast to NetworkError for more information).
hostIdHost ID associated with this connection.
connectionIdID of the connection.

Returns

int Current round trip time in ms.

Description

Return the round trip time for the given connectionId.