What is Peer Networking?
Peer-to-peer networking is a serverless networking technology that allows several network devices to share resources and communicate directly with each other. This technology is available for Windows XP with Service Pack 1 (SP1) and later clients that run the Advanced Networking Pack for the Peer-to-Peer Infrastructure.
The Peer-to-Peer Infrastructure is a set of networking APIs to help you develop decentralized networking applications that use the collective power of computers on a network. For example, peer-to-peer applications can be collaborative communications, content distribution technologies, and so on.
The Peer-to-Peer Infrastructure provides a solid networking infrastructure so that you can concentrate on developing applications, because the infrastructure is developed for you.
The Peer-to-Peer Infrastructure includes the following major components:
- Scalable and secure peer name resolution
- Efficient multipoint communication
- Distributed data management
- Secure peer identities
- Secure Peer-to-Peer groups
The Peer Name Resolution Protocol (PNRP) Namespace Provider API is a name-to-IP resolution protocol. The IPv6 scope or context that includes all participating peers is called a cloud. PNRP allows peers to interact with each other within a cloud.
The Peer-to-Peer Infrastructure includes the Graphing API that provides efficient multipoint communication. Like PNRP, peer-to-peer graphing allows a set of nodes to interact, and pass data to and from each other in the form of a record. Each record that a peer generates or updates is sent to all nodes in a graph.
Distributed data management automatically stores all records sent to a peer-to-peer graph until the specified expiration time for each record. Peer-to-peer networking ensures that each node in a peer-to-peer graph has a similar view of the record database. If a peer-to-peer graph has a security model associated with it, the graph contains the following information:
- Who can and cannot connect to a graph
- Who can secure and validate records based on externally defined criteria
The Peer-to-Peer Infrastructure provides a Peer-to-Peer Identity Manager API that allows you to create, manage, and manipulate the peer identities. Peer identities are used to define names for secure endpoints in PNRP, and can represent any resource that participates in a peer-to-peer network, including secure peer-to-peer groups and services.
The Peer-to-Peer Grouping API combines the Peer-to-Peer Graphing, Identity Manager, and PNRP APIs to form a cohesive and convenient solution for peer-to-peer networking application development. The Peer-to-Peer Grouping API uses the Peer-to-Peer Identity Manager API and a self-signed certificate scheme to ensure security within the graphing infrastructure. Each group can be resolved and registered through PNRP, which allows for the name resolution of random peers within a registered peer-to-peer group. A group can be an endpoint in PNRP, just like a peer.
For an overview of the Peer-to-Peer Infrastructure, see the article "Introduction to Windows XP Peer-to-Peer Networking".
For an overview of the APIs in the Peer-to-Peer Infrastructure, see the topic What is the Peer Infrastructure?.