NAME

GetTcpTable  (IPHLPAPI.@)

SYNOPSIS

 DWORD GetTcpTable
 (
  MIB_TCPTABLE* table,
  DWORD*        size,
  BOOL          sort
 )

DESCRIPTION

Get the table of active TCP connections.

PARAMS

table [Out] buffer for TCP connections table.
size [In/Out] length of output buffer.
sort [In] whether to order the table.

RETURNS

Success: NO_ERROR

Failure: error code from Winerror.h.

NOTES

If size is less than required, the function will return ERROR_INSUFFICIENT_BUFFER, and *size will be set to the required byte size. If sort is TRUE, the returned table will be sorted, first by local address and port number, then by remote address and port number.

IMPLEMENTATION

Declared in "iphlpapi.h". https://source.winehq.org/source/include/iphlpapi.h

Implemented in "dlls/iphlpapi/iphlpapi_main.c". https://source.winehq.org/source/dlls/iphlpapi/iphlpapi_main.c

Debug channel "iphlpapi".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Apr 2024.