Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

NetworkTransport.GetIncomingPacketCountForAllHosts

public static int GetIncomingPacketCountForAllHosts();

Returns

int Packets count received from start for all hosts.

Description

Returns how many packets have been received from start. (from NetworkTransport.Init call).

To define packet rate, you can call this function periodically.

Did you find this page useful? Please give it a rating: