PEER_GRAPH_STATUS_FLAGS enumeration (p2p.h)

The PEER_GRAPH_STATUS_FLAGS enumeration is a set of flags that show the current status of a node within the peer graph.

Syntax

typedef enum peer_graph_status_flags_tag {
  PEER_GRAPH_STATUS_LISTENING = 0x0001,
  PEER_GRAPH_STATUS_HAS_CONNECTIONS = 0x0002,
  PEER_GRAPH_STATUS_SYNCHRONIZED = 0x0004
} PEER_GRAPH_STATUS_FLAGS;

Constants

 
PEER_GRAPH_STATUS_LISTENING
Value: 0x0001
Specifies whether or not the node is listening for connections.
PEER_GRAPH_STATUS_HAS_CONNECTIONS
Value: 0x0002
Specifies whether or not the node has connections to other nodes.
PEER_GRAPH_STATUS_SYNCHRONIZED
Value: 0x0004
Specifies whether or not the node's database is synchronized.

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

See also

PEER_GRAPH_EVENT_DATA

PeerGraphGetStatus