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 = 0x0001,
PEER_CONNECTION_DIRECT = 0x0002
} PEER_CONNECTION_FLAGS;
Constants
PEER_CONNECTION_NEIGHBOR Value: 0x0001 Specifies that a connection is a neighbor connection. |
PEER_CONNECTION_DIRECT Value: 0x0002 Specifies that a connection is a direct connection to another node. |
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 |