Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

NetworkTransport.GetPacketSentRate

Switch to Manual
public static function GetPacketSentRate(hostId: int, connectionId: int, out error: byte): int;

Parameters

hostId Id of udp socket used to.
connectionId Connection id.
error Possible error.

Description

Reurn outgoing rate in bytes per second.