---
name: "GetTcpStatistics"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/GetTcpStatistics"
---

# GetTcpStatistics(3w)

## NAME

**GetTcpStatistics** (IPHLPAPI.@)

## SYNOPSIS

DWORD GetTcpStatistics\
  (\
   PMIB\_TCPSTATS *stats*\
  )

## DESCRIPTION

Get the **TCP** statistics for the local computer.

## PARAMS

*stats* **\[Out\]**  buffer for **TCP** statistics.

## RETURNS

**Success:** **NO\_ERROR**

**Failure:** error code from Winerror.h

## IMPLEMENTATION

Declared in **"iphlpapi.h"**.

Implemented in **"dlls/iphlpapi/ipstats.c"**.

Debug channel **"iphlpapi"**.
