Export (0) Print
Expand All

MSFT_NetTCPConnection class

Represents a TCP connection for the Microsoft TCP/IP WMI v2 provider.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[Dynamic, Provider("NetTCPIP")]class MSFT_NetTCPConnection : MSFT_NetTransportConnection
{
  string RemoteAddress;
  uint16 RemotePort;
  uint8  State;
  uint8  AppliedSetting;
};

Members

The MSFT_NetTCPConnection class has these types of members:

Properties

The MSFT_NetTCPConnection class has these properties.

AppliedSetting
Data type: uint8
Access type: Read-only

The name of the setting applied for this TCP connection. For information about these settings, see MSFT_NetTCPSetting.

Internet (0)
Datacenter (1)
Compat (2)
InternetCustom (3)
DatacenterCustom (4)
RemoteAddress
Data type: string
Access type: Read-only

The remote address of the TCP connection.

RemotePort
Data type: uint16
Access type: Read-only

The remote port of the TCP connection.

State
Data type: uint8
Access type: Read-only

The state of the TCP connection.

ValueMeaning
Closed
1

Represents no connection state at all.

Listen
2

Waiting for a connection request from any remote TCP and port.

SynSent
3

Waiting for a matching connection request after having sent a connection request (SYN packet).

SynReceived
4

Waiting for a confirming connection request acknowledgment after having both received and sent a connection request (SYN packet).

Established
5

Represents an open connection, data received can be delivered to the user. This is the normal state for the data transfer phase of the TCP connection.

FinWait1
6

Waiting for a connection termination request from the remote TCP, or an acknowledgment of the connection termination request previously sent.

FinWait2
7

Waiting for a connection termination request from the remote TCP.

CloseWait
8

Waiting for a connection termination request from the local user.

Closing
9

Waiting for a connection termination request acknowledgment from the remote TCP.

LastAck
10

Waiting for an acknowledgment of the connection termination request previously sent to the remote TCP.

TimeWait
11

Waiting for enough time to pass to be sure the remote TCP received the acknowledgment of its connection termination request.

DeleteTCB
12

Represents the deletion of the Transmission Control Block (TCB), a data structure used to maintain information on each TCP entry.

 

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

\root\StandardCimv2

MOF

NetTCPIP.mof

DLL

NetTCPIP.dll

See also

MSFT_NetTCPSetting

 

 

Community Additions

ADD
Show:
© 2015 Microsoft