PEER_GRAPH_SCOPE enumeration (p2p.h)
The PEER_GRAPH_SCOPE enumeration specifies the network scope of a peer graph.
Syntax
typedef enum peer_graph_scope_tag {
PEER_GRAPH_SCOPE_ANY = 0,
PEER_GRAPH_SCOPE_GLOBAL = 1,
PEER_GRAPH_SCOPE_SITELOCAL = 2,
PEER_GRAPH_SCOPE_LINKLOCAL = 3,
PEER_GRAPH_SCOPE_LOOPBACK = 4
} PEER_GRAPH_SCOPE;
Constants
PEER_GRAPH_SCOPE_ANY Value: 0 The peer graph's network scope can contain any IP address, valid or otherwise. |
PEER_GRAPH_SCOPE_GLOBAL Value: 1 The IP addresses for the peer graph's network scope can be from any unblocked address range. |
PEER_GRAPH_SCOPE_SITELOCAL Value: 2 The IP addresses for the peer graph's network scope must be within the IP range defined for the site. |
PEER_GRAPH_SCOPE_LINKLOCAL Value: 3 The IP addresses for the peer graph's network scope must be within the IP range defined for the local area network. |
PEER_GRAPH_SCOPE_LOOPBACK Value: 4 The peer graph's network scope is the local computer's loopback IP address. |
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 |