MIB_TCPROW (Windows CE 5.0)

Send Feedback

This structure contains information for a TCP connection.

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

OS Versions: Windows CE 3.0 and later.
Header: Iprtrmib.h.

See Also

IP Helper Structures | MIB_TCPTABLE | SetTcpEntry

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.