Dela via


Enabling Peer to Peer Services

Peer-to-peer messaging services are a feature of Windows Communication Foundation (WCF). Such services are created using the NetPeerTcpBinding in code, or the netPeerTcpBinding element in a configuration file. The peer-to-peer message model depends on the presence of a resolver. The resolver registers participants in a mesh, and functions as a central point for all messaging operations. You can create a custom resolver (see Peer Channel Custom Peer Resolver), or use the Windows peer-to-peer resolver. To use the Windows resolver on, you must install it.

To install the Windows peer-to-peer resolver on Windows XP Service Pack 2

  1. On the Start menu, click Control Panel.

  2. Click Add or Remove Programs.

  3. Click Add a Program.

  4. Click Add/Remove Windows Components.

  5. In the Windows Components Wizard, check the Networking Services box and click Details.

  6. In the Networking Services dialog window, check the Peer-to-Peer box.

  7. Click OK.

  8. Click Next to install the component.

  9. Click Finish to complete the installation.

See Also

Reference

NetPeerTcpBinding

Other Resources

netPeerTcpBinding element
Peer Channel Custom Peer Resolver
Peer Channel Chat