Skip to content

function getNetworkStats (client-side)

Available since version: 0.0.1

The function is used to retrieve current network statistics.

Declaration

{packetReceived, packetlossTotal, packetlossLastSecond, messagesInResendBuffer, messageInSendBuffer, bytesInResendBuffer, bytesInSendBuffer} getNetworkStats()

Parameters

No parameters.

Returns {packetReceived, packetlossTotal, packetlossLastSecond, messagesInResendBuffer, messageInSendBuffer, bytesInResendBuffer, bytesInSendBuffer}

Statistics of the network connection.