INetChannelInfo is an engine interface that provides information about connected clients. It is available from the moment that a client connects.
INetChannelInfo* netinfo = engine->GetPlayerNetInfo(int playerIndex);
- The name of the connection - not of the player. Typically (always?) the user's IP address.
float GetAvgLatency(int flow)
float GetAvgLoss(int flow)
float GetAvgChoke(int flow)
- Functions that require a "flow" argument expect
MAX_FLOWS(in + out).