Version: 2018.1
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.