Version: 2017.1
public static int GetCurrentRTT (int hostId, int connectionId, out byte error);

Parameters

error Error (can be cast to NetworkError for more information).
hostId Host ID associated with this connection.
connectionId ID of the connection.

Returns

int Current round trip time in ms.

Description

Return the round trip time for the given connectionId.