Class TcpStats
Gets statistics about TCP connections
Inherited Members
Namespace: OpenSearch.Net.Diagnostics
Assembly: OpenSearch.Net.dll
Syntax
public static class TcpStats
Methods
| Edit this page View SourceGetActiveTcpConnections()
Gets the active TCP connections
Declaration
public static TcpConnectionInformation[] GetActiveTcpConnections()
Returns
| Type | Description |
|---|---|
| TcpConnectionInformation[] | TcpConnectionInformation[] |
Remarks
Can return null when there is a permissions issue retrieving TCP connections.
GetStates()
Gets the sum for each state of the active TCP connections
Declaration
public static ReadOnlyDictionary<TcpState, int> GetStates()
Returns
| Type | Description |
|---|---|
| ReadOnlyDictionary<TcpState, int> |
GetTcpStatistics(NetworkInterfaceComponent)
Gets the TCP statistics for a given network interface component
Declaration
public static TcpStatistics GetTcpStatistics(NetworkInterfaceComponent version)
Parameters
| Type | Name | Description |
|---|---|---|
| NetworkInterfaceComponent | version |
Returns
| Type | Description |
|---|---|
| TcpStatistics |