Class HostStatistics
Stores packet statistics for hosts.
Inheritance
System.Object
HostStatistics
Namespace: SuperNet.Netcode.Transport
Assembly: cs.temp.dll.dll
Syntax
public class HostStatistics
Properties
SocketReceiveBytes
Total number of bytes received.
Declaration
public long SocketReceiveBytes { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
SocketReceiveCount
Total number of packets received.
Declaration
public long SocketReceiveCount { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
SocketReceiveTicks
Host ticks at the moment of the last socket receive operation.
Declaration
public long SocketReceiveTicks { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
SocketSendBytes
Total number of bytes sent.
Declaration
public long SocketSendBytes { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
SocketSendCount
Total number of packets sent.
Declaration
public long SocketSendCount { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
SocketSendTicks
Host ticks at the moment of the last socket send operation.
Declaration
public long SocketSendTicks { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
Methods
Reset()
Reset all statistics back to zero.
Declaration
public void Reset()