MIB_TCPROW
A version of this page is also available for
4/8/2010
This structure contains information for a TCP connection.
Syntax
typedef struct _MIB_TCPROW {
DWORD dwState;
DWORD dwLocalAddr;
DWORD dwLocalPort;
DWORD dwRemoteAddr;
DWORD dwRemotePort;
} MIB_TCPROW, *PMIB_TCPROW;
Members
dwState
The state of the TCP connection. The following list shows the possible values. This member can have one of these values:- MIB_TCP_STATE_CLOSED
- MIB_TCP_STATE_LISTEN
- MIB_TCP_STATE_SYN_SENT
- MIB_TCP_STATE_SYN_RCVD
- MIB_TCP_STATE_ESTAB
- MIB_TCP_STATE_FIN_WAIT1
- MIB_TCP_STATE_FIN_WAIT2
- MIB_TCP_STATE_CLOSE_WAIT
- MIB_TCP_STATE_CLOSING
- MIB_TCP_STATE_LAST_ACK
- MIB_TCP_STATE_TIME_WAIT
- MIB_TCP_STATE_DELETE_TCB
- dwLocalAddr
The address for the connection on the local computer.
- dwLocalPort
The port number for the connection on the local computer.
- dwRemoteAddr
The address for the connection on the remote computer.
- dwRemotePort
The port number for the connection on the remote computer.
Remarks
The port numbers are listed in the TCP table in network order.
Requirements
Header | iprtrmib.h |
Windows Embedded CE | Windows CE 3.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |