對等網路Peer-to-Peer Networking

對等通道是多方對等 (P2P) 通訊技術 Windows Communication Foundation (WCF) 中。Peer Channel is a multiparty, peer-to-peer (P2P) communication technology in Windows Communication Foundation (WCF). 它為應用程式開發人員提供了安全、可擴充的訊息 P2P 通訊通道。It provides a secure and scalable message-based P2P communication channel for application developers. 像「交談」這樣的共同作業應用程式,即是受惠於對等通道多方應用程式的其中一個例子;一群人可以在這裡透過對等方式彼此交談,而不需要伺服器。One common example of a multiparty application that can benefit from Peer Channel is a collaborative application, such as chat, where a group of people chat with one another in a peer-to-peer manner without servers. 對等通道能夠進行 P2P 共同作業、內容散發、負載平衡,以及消費者和企業案例的分散式處理。Peer Channel enables P2P collaboration, content distribution, load balancing, and distributed processing for both consumer and enterprise scenarios.

預設會啟用對等通道上Windows VistaWindows Vista,因為所有的 WCF。Peer Channel is enabled by default on Windows VistaWindows Vista, as is all of WCF. 若要存取對等通道類別,請將 System.ServiceModel.dll 的參考加入至專案。To access Peer Channel classes, add references to System.ServiceModel.dll to your project.

下列各節包含有關對等網路的資訊,並且說明如何使用對等通道類別,建立已啟用對等之網路應用程式。The following sections contain information about peer-to-peer networking and the use of Peer Channel classes to create peer-enabled network applications.

本節內容In This Section

對等通道案例: 說明對等通道 Api 支援的開發案例,例如發行/訂閱訊息、 共同作業、 分散式處理和遊戲。Peer Channel Scenarios: Describes development scenarios supported by the Peer Channel APIs, such as publication/subscription messaging, collaboration, distributed processing, and gaming.

對等通道概念: 說明對等網狀結構、 對等節點、 對等通道安全性和對等解析程式。Peer Channel Concepts: Describes Peer Meshes, Peer Nodes, Peer Channel security, and Peer Resolvers.

建置對等通道應用程式: 提供開發對等通道應用程式的指引。Building a Peer Channel Application: Provides guidance on developing Peer Channel applications.

對等通道程式碼範例Peer Channel Code Examples

對等通道自訂對等解析程式Peer Channel Custom Peer Resolver

對等通道小組部落格Peer Channel Team blog

對等通道小組部落格Peer Channel Team Blog