This version of Unity is unsupported.
Method group is Obsolete

NetworkTransport.GetOutgoingPacketCount

Obsolete The UNET transport will be removed in the future as soon a replacement is ready.

Declaration

public static int GetOutgoingPacketCount();

Returns

int Packets count sent from networking library start (from call Networking.NetworkTransport.Init) for all hosts.

Description

Returns how many packets have been sent from start (from call Networking.NetworkTransport.Init) for all hosts.

To determine the packet rate, sample this value periodically and divide the difference by the intervening time period.