Partager via


2.2.1.2.55 MIB_TCPROW

The MIB_TCPROW structure contains information for an IPv4 TCP connection. This structure is used in the following structures:

  • MIB_OPAQUE_INFO (section 2.2.1.2.52)

  • MIB_TCPTABLE (section 2.2.1.2.57)

     typedef struct _MIB_TCPROW {
       union {
         DWORD dwState;
         MIB_TCP_STATE State;
       };
       DWORD dwLocalAddr;
       DWORD dwLocalPort;
       DWORD dwRemoteAddr;
       DWORD dwRemotePort;
     } MIB_TCPROW,
      *PMIB_TCPROW;
    

dwState: The state of the TCP connection. This member can be one of the enums in the MIB_TCP_STATE (section 2.2.1.1.11) enumeration.

State: The state of the TCP connection.<37>

dwLocalAddr: The local IPv4 address for the TCP connection on the local computer. A value of zero (0) indicates the listener can accept a connection on any interface.

dwLocalPort: The local port number in network byte order for the TCP connection on the local computer.

dwRemoteAddr: The IPv4 address for the TCP connection on the remote computer.

dwRemotePort: The remote port number in network byte order for the TCP connection on the remote computer.