PEER_CONNECTION_STATUS enumeration (p2p.h)

The PEER_CONNECTION_STATUS enumeration specifies the status of a peer direct or neighbor connection.

Syntax

typedef enum peer_connection_status_tag {
  PEER_CONNECTED = 1,
  PEER_DISCONNECTED = 2,
  PEER_CONNECTION_FAILED = 3
} PEER_CONNECTION_STATUS;

Constants

 
PEER_CONNECTED
Value: 1
The peer is connected to another peer.
PEER_DISCONNECTED
Value: 2
The peer has disconnected from another peer.
PEER_CONNECTION_FAILED
Value: 3
The peer failed to connect to another peer.

Requirements

Requirement Value
Minimum supported client Windows XP with SP2 [desktop apps only],Windows XP with SP1 with the Advanced Networking Pack forWindows XP
Minimum supported server None supported
Header p2p.h