![Xcalibur Systems LLC Logo](../icons/logo.png) |
NetworkingHelperGetExtendedTcpTable Method |
The GetExtendedTcpTable function retrieves a table that contains a list of TCP endpoints
available to the application.
Namespace: Xcalibur.NativeMethods.V2.NetworkingAssembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax[DllImportAttribute("iphlpapi.dll", SetLastError = true)]
public static uint GetExtendedTcpTable(
IntPtr tcpTablePointer,
ref int outputBufferLength,
bool sort,
int ipVersion,
TcpTableClasses tblClass,
int reserved
)
<DllImportAttribute("iphlpapi.dll", SetLastError := true>]
Public Shared Function GetExtendedTcpTable (
tcpTablePointer As IntPtr,
ByRef outputBufferLength As Integer,
sort As Boolean,
ipVersion As Integer,
tblClass As TcpTableClasses,
reserved As Integer
) As UInteger
public:
[DllImportAttribute(L"iphlpapi.dll", SetLastError = true)]
static unsigned int GetExtendedTcpTable(
IntPtr tcpTablePointer,
int% outputBufferLength,
bool sort,
int ipVersion,
TcpTableClasses tblClass,
int reserved
)
[<DllImportAttribute("iphlpapi.dll", SetLastError = true)>]
static member GetExtendedTcpTable :
tcpTablePointer : IntPtr *
outputBufferLength : int byref *
sort : bool *
ipVersion : int *
tblClass : TcpTableClasses *
reserved : int -> uint32
Parameters
- tcpTablePointer IntPtr
- A pointer to the table structure that contains the filtered
TCP endpoints available to the application.
- outputBufferLength Int32
- he estimated size of the structure returned in
tcpTablePointer, in bytes.
- sort Boolean
- A value that specifies whether the TCP connection table should be
sorted. If this parameter is set to TRUE, the TCP endpoints in the table are sorted in
ascending order, starting with the lowest local IP address. If this parameter is set to
FALSE, the TCP endpoints in the table appear in the order in which they were retrieved.
- ipVersion Int32
- The version of IP used by the TCP endpoints.
- tblClass TcpTableClasses
- The type of the TCP table structure to retrieve. This parameter can
be one of the values from the enumeration.
- reserved Int32
- Reserved. This value must be zero.
Return Value
UInt32
See Also