Skip to content

Latest commit

 

History

History
149 lines (99 loc) · 3.91 KB

ns-mstcpip-tcp_info_v0.md

File metadata and controls

149 lines (99 loc) · 3.91 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:mstcpip._TCP_INFO_v0
TCP_INFO_v0 (mstcpip.h)
Contains the Transmission Control Protocol (TCP) statistics that were collected for a socket.
*PTCP_INFO_v0
PTCP_INFO_v0
PTCP_INFO_v0 structure pointer [Winsock]
TCP_INFO_v0
TCP_INFO_v0 structure [Winsock]
mstcpip/PTCP_INFO_v0
mstcpip/TCP_INFO_v0
winsock.tcp_info_v0
winsock\tcp_info_v0.htm
WinSock
9A51A059-59EC-4D30-9ECE-C81351C0861F
12/05/2018
*PTCP_INFO_v0, PTCP_INFO_v0, PTCP_INFO_v0 structure pointer [Winsock], TCP_INFO_v0, TCP_INFO_v0 structure [Winsock], mstcpip/PTCP_INFO_v0, mstcpip/TCP_INFO_v0, winsock.tcp_info_v0
mstcpip.h
Windows
Windows 10, version 1703 [desktop apps only]
Windows Server 2016 [desktop apps only]
Windows
TCP_INFO_v0, *PTCP_INFO_v0
19H1
_TCP_INFO_v0
mstcpip/_TCP_INFO_v0
PTCP_INFO_v0
mstcpip/PTCP_INFO_v0
TCP_INFO_v0
mstcpip/TCP_INFO_v0
c++
APIRef
kbSyntax
HeaderDef
Mstcpip.h
TCP_INFO_v0

TCP_INFO_v0 structure

-description

Contains the Transmission Control Protocol (TCP) statistics that were collected for a socket.

-struct-fields

-field State

A value from the TCPSTATE enumeration that indicates the state of the TCP connection.

-field Mss

The current maximum segment size (MSS) for the connection, in bytes.

-field ConnectionTimeMs

The lifetime of the connection, in milliseconds.

-field TimestampsEnabled

TRUE if TCP time stamps are turned on for the connection; otherwise FALSE.

-field RttUs

The current estimated round-trip time for the connection, in microseconds.

-field MinRttUs

The minimum sampled round trip time, in microseconds.

-field BytesInFlight

The current number of sent bytes that are unacknowledged.

-field Cwnd

The size of the current congestion window, in bytes.

-field SndWnd

The size of the send window (SND.WND in RFC 793), in bytes.

-field RcvWnd

The size of the receive window (RCV.WND in RFC 793), in bytes.

-field RcvBuf

The size of the current receive buffer, in bytes. The size of the receive buffer changes dynamically when autotuning is turned on for the receive window.

-field BytesOut

The total number of bytes sent.

-field BytesIn

The total number of bytes received.

-field BytesReordered

The total number of bytes reordered.

-field BytesRetrans

The total number of bytes retransmitted.

-field FastRetrans

The number of calls of the Fast Retransmit algorithm.

-field DupAcksIn

The total number of duplicate acknowledgments received.

-field TimeoutEpisodes

The total number of retransmission timeout episodes. Each episode can consist of multiple timeouts.

-field SynRetrans

The total number of retransmitted synchronize control flags (SYNs).

-remarks

To get an instance of this structure, call the WSAIoctl or LPWSPIoctl function with the SIO_TCP_INFO control code. Specify 0 for the lpvInBuffer field to retrieve the v0 version of this structure.

-see-also

SIO_TCP_INFO

TCPSTATE