Scroll to navigation

GetTcpTable(3w) Wine API GetTcpTable(3w)

NAME

GetTcpTable (IPHLPAPI.@)

SYNOPSIS

DWORD GetTcpTable
(
PMIB_TCPTABLE pTcpTable,
PDWORD pdwSize,
BOOL bOrder
)
 

DESCRIPTION

Get the table of active TCP connections.
 

PARAMS

pTcpTable [Out] buffer for TCP connections table.
pdwSize [In/Out] length of output buffer.
bOrder [In] whether to order the table.
 

RETURNS

Success: NO_ERROR
Failure: error code from Winerror.h.
 

NOTES

If pdwSize is less than required, the function will return ERROR_INSUFFICIENT_BUFFER, and * pdwSize will be set to the required byte size. If bOrder 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 "ipstats.h".
Implemented in "dlls/iphlpapi/iphlpapi_main.c".
Debug channel "iphlpapi".
Oct 2012 Wine API