PEER_CONNECTION_FLAGS enumeration (p2p.h)

The PEER_CONNECTION_FLAGS enumeration specifies the types of connections that a peer can have.

Syntax

typedef enum peer_connection_flags_tag {
  PEER_CONNECTION_NEIGHBOR,
  PEER_CONNECTION_DIRECT
} PEER_CONNECTION_FLAGS;

Constants

Name Description
PEER_CONNECTION_NEIGHBOR Specifies that a connection is a neighbor connection.
PEER_CONNECTION_DIRECT Specifies that a connection is a direct connection to another node.

Requirements

   
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_CONNECTION_INFO