Table of Contents

Struct NetworkStats

Namespace
SampSharp.OpenMp.Core.Api
Assembly
SampSharp.OpenMp.Core.dll

Represents network statistics for a connection.

public readonly struct NetworkStats
Inherited Members

Fields

AcknowlegementsPending

Gets the number of acknowledgements currently pending.

public readonly uint AcknowlegementsPending

Field Value

uint

AcknowlegementsReceived

Gets the total number of acknowledgements received.

public readonly uint AcknowlegementsReceived

Field Value

uint

AcknowlegementsSent

Gets the total number of acknowledgements sent.

public readonly uint AcknowlegementsSent

Field Value

uint

BitsPerSecond

Gets the current bits per second rate.

public readonly double BitsPerSecond

Field Value

double

BpsReceived

Gets the bits per second rate for received data.

public readonly double BpsReceived

Field Value

double

BpsSent

Gets the bits per second rate for sent data.

public readonly double BpsSent

Field Value

double

BytesReceived

Gets the total number of bytes received.

public readonly uint BytesReceived

Field Value

uint

ConnectMode

Gets the connection mode.

public readonly int ConnectMode

Field Value

int

ConnectionElapsedTime

Gets the elapsed time of the connection, in milliseconds.

public readonly uint ConnectionElapsedTime

Field Value

uint

ConnectionStartTime

Gets the time when the connection started, in milliseconds since the application started.

public readonly uint ConnectionStartTime

Field Value

uint

DuplicateAcknowlegementsReceived

Gets the total number of duplicate acknowledgements received.

public readonly uint DuplicateAcknowlegementsReceived

Field Value

uint

IsActive

Gets a value indicating whether the connection is active.

public readonly bool IsActive

Field Value

bool

MessageResends

Gets the total number of message resends.

public readonly uint MessageResends

Field Value

uint

MessageSendBuffer

Gets the size of the message send buffer.

public readonly uint MessageSendBuffer

Field Value

uint

MessagesOnResendQueue

Gets the number of messages currently on the resend queue.

public readonly uint MessagesOnResendQueue

Field Value

uint

MessagesReceived

Gets the total number of messages received.

public readonly uint MessagesReceived

Field Value

uint

MessagesReceivedPerSecond

Gets the number of messages received per second.

public readonly uint MessagesReceivedPerSecond

Field Value

uint

MessagesSent

Gets the total number of messages sent.

public readonly uint MessagesSent

Field Value

uint

MessagesTotalBytesResent

Gets the total number of bytes resent for messages.

public readonly uint MessagesTotalBytesResent

Field Value

uint

Packetloss

Gets the packet loss percentage.

public readonly float Packetloss

Field Value

float

TotalBytesSent

Gets the total number of bytes sent.

public readonly uint TotalBytesSent

Field Value

uint